mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
fixed bug in SelfInflictedWound
This commit is contained in:
parent
014e8a2f0f
commit
7ca9bbc7ff
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