public void DuringDetermineAttack(IDetermineAttack state) { var enemy = state.Game.GetCardInPlay<IEnemyInPlay>(source.Id); if (enemy == null || enemy.Resources == 0) return; state.Game.AddEffect(this); }
public void DuringDetermineAttack(IDetermineAttack state) { var enemy = state.Game.GetCardInPlay <IEnemyInPlay>(source.Id); if (enemy == null || enemy.Resources == 0) { return; } state.Game.AddEffect(this); }
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; }
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; }
public virtual void DetermineAttack(IDetermineAttack state) { state.Attack += PrintedAttack; }
public void DuringDetermineAttack(IDetermineAttack state) { state.Game.AddEffect(this); }