forked from External/mage
Refactor: move player.damage params to default (same as permanent.damage);
This commit is contained in:
parent
76387057b7
commit
11976b5c89
228 changed files with 1104 additions and 1454 deletions
|
|
@ -63,11 +63,11 @@ public class DamageMultiEffect extends OneShotEffect {
|
|||
if (permanent != null) {
|
||||
if (permanent.damage(multiTarget.getTargetAmount(target), source.getSourceId(), game, false, true) > 0) {
|
||||
damagedSet.add(new MageObjectReference(permanent, game));
|
||||
} ;
|
||||
}
|
||||
} else {
|
||||
Player player = game.getPlayer(target);
|
||||
if (player != null) {
|
||||
player.damage(multiTarget.getTargetAmount(target), source.getSourceId(), game, false, true);
|
||||
player.damage(multiTarget.getTargetAmount(target), source.getSourceId(), game);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue