mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08: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…
Add table
Add a link
Reference in a new issue