protected override void SetCardPutOnTable() { Card card = AbilitySandbox.GetRandTableCreature(PlayerType.EnemyPlayer); if (card != null) { AbilitySandbox.DamageCreature(card, attackPower); } }
protected override void SetManualAction() { Card enemy = AbilitySandbox.GetRandTableCreature(PlayerType.EnemyPlayer); if (enemy != null) { // TODO: Не учитываются аффекты AbilitySandbox.DamageCreature(enemy, AbilitySandbox.GetCreatureAttack(bindedCard)); AbilitySandbox.DamageCreature(bindedCard, AbilitySandbox.GetCreatureAttack(bindedCard)); } }
protected override void SetCardPutOnTable() { foreach (Card card in AbilitySandbox.GetTableCreatures(PlayerType.CurrentPlayer)) { AbilitySandbox.DamageCreature(card, attackPower); } foreach (Card card in AbilitySandbox.GetTableCreatures(PlayerType.EnemyPlayer)) { AbilitySandbox.DamageCreature(card, attackPower); } }
protected override void SetManualAction() { Card enemy = AbilitySandbox.GetRandTableCreature(PlayerType.EnemyPlayer); AbilitySandbox.DamageCreature(enemy, attackPower); }