public override void OnAnyCardPlayed(AbstractCard cardPlayed, AbstractBattleUnit targetOfCard, bool ownedByMe) { if (cardPlayed.NameContains("smog")) { state().energy += Stacks; } }
public override void OnAnyCardPlayed(AbstractCard cardPlayed, AbstractBattleUnit targetOfCard, bool ownedByMe) { if (cardPlayed.NameContains("grenade")) { for (int i = 0; i < this.Stacks; i++) { cardPlayed.EvokeCardEffect(targetOfCard); } } }
public override void OnAnyCardPlayed(AbstractCard cardPlayed, AbstractBattleUnit targetOfCard, bool isMine) { if (cardPlayed.NameContains("blood")) { foreach (var ally in state().AllyUnitsInBattle) { action().HealUnit(ally, Stacks, this.OwnerUnit); } } }