Esempio n. 1
0
 public override void OnAnyCardPlayed(AbstractCard cardPlayed, AbstractBattleUnit target, bool ownedByMe)
 {
     if (cardPlayed.BaseEnergyCost() == 3)
     {
         action().DamageUnitNonAttack(this.OwnerUnit, null, Stacks);
     }
 }
Esempio n. 2
0
        public override void OnAnyCardPlayed(AbstractCard cardPlayed, AbstractBattleUnit targetOfCard, bool ownedByMe)
        {
            if (cardPlayed.BaseEnergyCost() == 1)
            {
                var anotherUnitInEnemyParty = GameState.Instance
                                              .EnemyUnitsInBattle
                                              .Shuffle()
                                              .First(item => !item.IsDead);

                ActionManager.Instance.ApplyStatusEffect(anotherUnitInEnemyParty, new StrengthStatusEffect(), Stacks);
            }
        }
 public override int GetIncrementalDamageAddition(int currentBaseDamage, AbstractCard damageSource, AbstractBattleUnit target)
 {
     return(damageSource.BaseEnergyCost() * 1);
 }