意图初步
This commit is contained in:
@@ -12,9 +12,11 @@ namespace Continentis.MainGame.Card
|
||||
[Header("References")]
|
||||
public DeckSubmodule deck;
|
||||
//public string currentPileName;
|
||||
|
||||
public ICardOwner owner;
|
||||
public CharacterBase user;
|
||||
public CombatTeam team;
|
||||
public CombatTeam usingTeam;
|
||||
|
||||
public CardLogicBase cardLogic;
|
||||
public CardLocation cardLocation;
|
||||
public HandCardView handCardView;
|
||||
@@ -29,11 +31,11 @@ namespace Continentis.MainGame.Card
|
||||
this.user = owner as CharacterBase;
|
||||
if (this.owner is CombatTeam team)
|
||||
{
|
||||
this.team = team;
|
||||
this.usingTeam = team;
|
||||
}
|
||||
else if (this.owner is CharacterBase character)
|
||||
{
|
||||
this.team = character.team;
|
||||
this.usingTeam = character.team;
|
||||
}
|
||||
|
||||
this.deck = owner.deckSubmodule;
|
||||
|
||||
Reference in New Issue
Block a user