Merge pull request #879 from andyfries/master

fixed bug in SelfInflictedWound
This commit is contained in:
LevelX2 2015-04-04 08:52:35 +02:00
commit 82f57ffb91

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);
} }
} }