Remove TODO from Scarring
This commit is contained in:
parent
36074e09b2
commit
8423a2a87a
2 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
TODO.txt
1
TODO.txt
|
|
@ -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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue