public override IEnumerator ApplyEffect( CardEffectState cardEffectState, CardEffectParams cardEffectParams) { int damageAmount = this.GetDamageAmount(cardEffectState); if (cardEffectState.GetTargetMode() == TargetMode.Room) { cardEffectParams.combatManager.IgnoreDuplicateSounds(true); } for (int i = 0; i < cardEffectParams.targets.Count; ++i) { CharacterState target = cardEffectParams.targets[i]; yield return((object)cardEffectParams.combatManager.ApplyDamageToTarget(damageAmount, target, new CombatManager.ApplyDamageToTargetParameters() { playedCard = cardEffectParams.playedCard, finalEffectInSequence = cardEffectParams.finalEffectInSequence, relicState = cardEffectParams.sourceRelic, selfTarget = cardEffectParams.selfTarget, vfxAtLoc = cardEffectState.GetAppliedVFX(), showDamageVfx = cardEffectParams.allowPlayingDamageVfx })); } cardEffectParams.combatManager.IgnoreDuplicateSounds(false); }