Remove TODO from Scarring

This commit is contained in:
henriquenakashima 2020-09-19 22:50:20 -04:00
parent 36074e09b2
commit 8423a2a87a
2 changed files with 0 additions and 3 deletions

View file

@ -11,7 +11,6 @@ public class CardScarring : BaseCard
public override IEnumerator Use(IBattleEffectApplier effectApplier, BattlePlayerControls playerControls) { public override IEnumerator Use(IBattleEffectApplier effectApplier, BattlePlayerControls playerControls) {
effectApplier.Apply(new BlockEffect(this.owner, 4)); effectApplier.Apply(new BlockEffect(this.owner, 4));
// TODO: Trigger only until end of turn.
DamageTrigger trigger = new DamageTrigger( DamageTrigger trigger = new DamageTrigger(
new List<BattleParticipant>() {this.owner}, new List<BattleParticipant>() {this.owner},
this.NotifyDamageDealt, this.NotifyDamageDealt,
@ -22,7 +21,6 @@ public class CardScarring : BaseCard
} }
public void NotifyDamageDealt(IBattleEffectApplier effectApplier) { public void NotifyDamageDealt(IBattleEffectApplier effectApplier) {
Debug.Log("NotifyDamageDealt ");
IncreaseMaxHPEffect effect = new IncreaseMaxHPEffect(this.owner, 1); IncreaseMaxHPEffect effect = new IncreaseMaxHPEffect(this.owner, 1);
effectApplier.Apply(effect); effectApplier.Apply(effect);
} }

View file

@ -1,2 +1 @@
- Make API of IBattleEffectResolver take in effects instead of params - Make API of IBattleEffectResolver take in effects instead of params
- Remove TODO from CardScarring