Exemple #1
0
        protected override void SetCardPutOnTable()
        {
            Card card = AbilitySandbox.GetRandTableCreature(PlayerType.EnemyPlayer);

            if (card != null)
            {
                AbilitySandbox.DamageCreature(card, attackPower);
            }
        }
Exemple #2
0
        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));
            }
        }
Exemple #3
0
        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);
            }
        }
Exemple #4
0
        protected override void SetManualAction()
        {
            Card enemy = AbilitySandbox.GetRandTableCreature(PlayerType.EnemyPlayer);

            AbilitySandbox.DamageCreature(enemy, attackPower);
        }