- little fix to outcome on Drakuseth, Maw of Flames

This commit is contained in:
jeffwadsworth 2019-12-13 16:33:38 -06:00
parent 88ca9b1829
commit 3dfb7ea0da

View file

@ -64,7 +64,7 @@ public final class DrakusethMawOfFlames extends CardImpl {
class DrakusethMawOfFlamesEffect extends OneShotEffect { class DrakusethMawOfFlamesEffect extends OneShotEffect {
DrakusethMawOfFlamesEffect() { DrakusethMawOfFlamesEffect() {
super(Outcome.Benefit); super(Outcome.Damage);
staticText = "it deals 4 damage to any target and 3 damage to each of " staticText = "it deals 4 damage to any target and 3 damage to each of "
+ "up to two other targets."; + "up to two other targets.";
} }
@ -93,12 +93,10 @@ class DrakusethMawOfFlamesEffect extends OneShotEffect {
Permanent permanent = game.getPermanent(targetId); Permanent permanent = game.getPermanent(targetId);
if (permanent != null) { if (permanent != null) {
permanent.damage(damage, source.getSourceId(), game); permanent.damage(damage, source.getSourceId(), game);
return;
} }
Player player = game.getPlayer(targetId); Player player = game.getPlayer(targetId);
if (player != null) { if (player != null) {
player.damage(damage, source.getSourceId(), game); player.damage(damage, source.getSourceId(), game);
return;
} }
} }
} }