mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Merge pull request #1903 from KWottrich/fix-serendib-djinn-island-damage
Fix serendib djinn island damage
This commit is contained in:
commit
55ed1c3121
1 changed files with 3 additions and 4 deletions
|
@ -121,13 +121,12 @@ class SerendibDjinnEffect extends OneShotEffect {
|
|||
player.choose(Outcome.Sacrifice, target, source.getSourceId(), game);
|
||||
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
||||
if (permanent != null) {
|
||||
if (permanent.hasSubtype("Island")) {
|
||||
player.damage(3, source.getSourceId(), game, false, true);
|
||||
}
|
||||
permanent.sacrifice(source.getSourceId(), game);
|
||||
return true;
|
||||
}
|
||||
if (permanent.hasSubtype("Island")){
|
||||
player.damage(3, source.getSourceId(), game, false, true);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue