public void DuringDetermineAttack(IDetermineAttack state)
            {
                var enemy = state.Game.GetCardInPlay<IEnemyInPlay>(source.Id);
                if (enemy == null || enemy.Resources == 0)
                    return;

                state.Game.AddEffect(this);
            }
Esempio n. 2
0
            public void DuringDetermineAttack(IDetermineAttack state)
            {
                var enemy = state.Game.GetCardInPlay <IEnemyInPlay>(source.Id);

                if (enemy == null || enemy.Resources == 0)
                {
                    return;
                }

                state.Game.AddEffect(this);
            }
Esempio n. 3
0
            public void DuringDetermineAttack(IDetermineAttack determineAttack)
            {
                if (determineAttack.Attacker.Card.Id != source.Id)
                    return;

                var enemy = determineAttack.Game.StagingArea.CardsInStagingArea.OfType<IEnemyInPlay>().Where(x => x.Card.Id == determineAttack.Defender.Card.Id).FirstOrDefault();
                if (enemy == null)
                    return;

                determineAttack.Game.AddEffect(this);
            }
            public void DuringDetermineAttack(IDetermineAttack determineAttack)
            {
                var enemy = determineAttack.Game.GetCardInPlay<IEnemyInPlay>(determineAttack.Defender.Card.Id);
                if (enemy == null)
                    return;

                if (!enemy.HasTrait(Trait.Orc))
                    return;

                determineAttack.Attack += 1;
            }
Esempio n. 5
0
            public void DuringDetermineAttack(IDetermineAttack determineAttack)
            {
                if (determineAttack.Attacker.Card.Id != source.Id)
                {
                    return;
                }

                var enemy = determineAttack.Game.StagingArea.CardsInStagingArea.OfType <IEnemyInPlay>().Where(x => x.Card.Id == determineAttack.Defender.Card.Id).FirstOrDefault();

                if (enemy == null)
                {
                    return;
                }

                determineAttack.Game.AddEffect(this);
            }
            public void DuringDetermineAttack(IDetermineAttack determineAttack)
            {
                var enemy = determineAttack.Game.GetCardInPlay <IEnemyInPlay>(determineAttack.Defender.Card.Id);

                if (enemy == null)
                {
                    return;
                }

                if (!enemy.HasTrait(Trait.Orc))
                {
                    return;
                }

                determineAttack.Attack += 1;
            }
Esempio n. 7
0
 public virtual void DetermineAttack(IDetermineAttack state)
 {
     state.Attack += PrintedAttack;
 }
 public virtual void DetermineAttack(IDetermineAttack state)
 {
     state.Attack += PrintedAttack;
 }
Esempio n. 9
0
 public void DuringDetermineAttack(IDetermineAttack state)
 {
     state.Game.AddEffect(this);
 }
Esempio n. 10
0
 public void DuringDetermineAttack(IDetermineAttack state)
 {
     state.Game.AddEffect(this);
 }