fixed bug in SelfInflictedWound

This commit is contained in:
Andy Fries 2015-04-03 19:40:26 -07:00
parent 014e8a2f0f
commit 7ca9bbc7ff

View file

@ -107,7 +107,7 @@ class SelfInflictedWoundEffect extends OneShotEffect {
Permanent permanent = game.getPermanent(target.getFirstTarget()); Permanent permanent = game.getPermanent(target.getFirstTarget());
if (permanent != null) { if (permanent != null) {
if (permanent.sacrifice(source.getSourceId(), game)) { if (permanent.sacrifice(source.getSourceId(), game)) {
controller.loseLife(2, game); targetOpponent.loseLife(2, game);
} }
} }