fixed Stormwild Capridor preventing combat damage

This commit is contained in:
Evan Kranzler 2020-04-23 19:25:04 -04:00
parent 5624dd6153
commit bfa674ed59

View file

@ -54,7 +54,7 @@ class StormwildCapridorEffect extends PreventionEffectImpl {
StormwildCapridorEffect() { StormwildCapridorEffect() {
super(Duration.WhileOnBattlefield); super(Duration.WhileOnBattlefield);
staticText = "If damage would be dealt to {this}, prevent that damage. " + staticText = "If noncombat damage would be dealt to {this}, prevent that damage. " +
"Put a +1/+1 counter on {this} for each 1 damage prevented this way"; "Put a +1/+1 counter on {this} for each 1 damage prevented this way";
} }
@ -96,7 +96,7 @@ class StormwildCapridorEffect extends PreventionEffectImpl {
return false; return false;
} }
DamageCreatureEvent damageEvent = (DamageCreatureEvent) event; DamageCreatureEvent damageEvent = (DamageCreatureEvent) event;
return damageEvent.isCombatDamage(); return !damageEvent.isCombatDamage();
} }
} }