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,11 +121,10 @@ class SerendibDjinnEffect extends OneShotEffect {
|
|||
player.choose(Outcome.Sacrifice, target, source.getSourceId(), game);
|
||||
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
||||
if (permanent != null) {
|
||||
permanent.sacrifice(source.getSourceId(), game);
|
||||
return true;
|
||||
}
|
||||
if (permanent.hasSubtype("Island")){
|
||||
if (permanent.hasSubtype("Island")) {
|
||||
player.damage(3, source.getSourceId(), game, false, true);
|
||||
}
|
||||
permanent.sacrifice(source.getSourceId(), game);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue