public BoardHero(Entity hero, Entity weapon, bool activeTurn) { _hero = new BoardCard(hero, activeTurn); // hero gains windfury with weapon, doubling attack get base attack _baseAttack = hero.GetTag(GameTag.ATK); if(weapon != null) _weapon = new BoardCard(weapon, activeTurn); Include = activeTurn && _hero.Include; Attack = AttackWithWeapon(); }
public BoardHero(CardEntity hero, CardEntity weapon, bool activeTurn) { _active = activeTurn; _hero = new BoardCard(hero, activeTurn); // hero gains windfury with weapon, doubling attack get base attack _baseAttack = hero.Entity.GetTag(GAME_TAG.ATK); if(weapon != null) _weapon = new BoardCard(weapon, activeTurn); Include = activeTurn ? _hero.Include : false; Attack = AttackWithWeapon(); }
public BoardHero(Entity hero, Entity weapon, bool activeTurn) { _hero = new BoardCard(hero, activeTurn); // hero gains windfury with weapon, doubling attack get base attack _baseAttack = hero.GetTag(GameTag.ATK); if (weapon != null) { _weapon = new BoardCard(weapon, activeTurn); } Include = activeTurn && _hero.Include; Attack = AttackWithWeapon(); }
public BoardHero(CardEntity hero, CardEntity weapon, bool activeTurn) { _active = activeTurn; _hero = new BoardCard(hero, activeTurn); // hero gains windfury with weapon, doubling attack get base attack _baseAttack = hero.Entity.GetTag(Enums.GAME_TAG.ATK); if (weapon != null) { _weapon = new BoardCard(weapon, activeTurn); } _ableToAttack = activeTurn ? _hero.Include : false; _attack = AttackWithWeapon(); }