fixed Chandra's Triumph dealing 5 damage even without controlling a Chandra planeswalker

This commit is contained in:
Evan Kranzler 2019-04-24 12:40:29 -04:00
parent ec9d465432
commit 79f8391fef

View file

@ -75,7 +75,7 @@ class ChandrasTriumphEffect extends OneShotEffect {
return false; return false;
} }
int damage = 3; int damage = 3;
if (game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game).isEmpty()) { if (!game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game).isEmpty()) {
damage = 5; damage = 5;
} }
return permanent.damage(damage, source.getSourceId(), game) > 0; return permanent.damage(damage, source.getSourceId(), game) > 0;