mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
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
|
|
@ -392,7 +392,7 @@ public class RandomPlayer extends ComputerPlayer {
|
|||
} else {
|
||||
Player player = game.getPlayer(targetId);
|
||||
if (player != null) {
|
||||
player.damage(amount, sourceId, game, false, true);
|
||||
player.damage(amount, sourceId, game);
|
||||
remainingDamage -= amount;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue