mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Merge pull request #879 from andyfries/master
fixed bug in SelfInflictedWound
This commit is contained in:
commit
82f57ffb91
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue