Exemplo n.º 1
0
        public List <Card> CardsForSkill(Player player, Skill skill, Card fromCard)
        {
            bool targetAttacker = Attacker.Id == player.Id;

            string name = skill.Name.ToLower();

            bool targetShelf = name == "barrier" ||
                               name == "empower" || name == "heal" ||
                               name == "legion" || name == "fervor";

            targetAttacker = targetAttacker ? targetShelf : !targetShelf;

            return(targetAttacker ? Attacker.CardsForSkill(skill, fromCard) : Defender.CardsForSkill(skill, fromCard));
        }