public void OnDamageDeal() { Card.TimesDealDamage++; Info.CanAttack = false; Info.HighlightCard(false); if (Card.HasAbility) { Ability.OnDamageDeal(); } }
public void OnDamageDeal()//нанесение урона { thisCard.timesDealeDamage++; thisCard.canAttack = false; info.HighlightCard(false); if (thisCard.hasAbility) { ability.OnDamageDeal(); } }