mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Fixed bug of Debt to the Deathless only dealing 1 * X damage instead of 2 * X.
This commit is contained in:
parent
e11a2c30e2
commit
562bcb5dc8
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class DebtToTheDeathlessEffect extends OneShotEffect<DebtToTheDeathlessEffect> {
|
|||
int damage = 0;
|
||||
int xValue = source.getManaCostsToPay().getX();
|
||||
for (UUID opponentId: game.getOpponents(source.getControllerId())) {
|
||||
damage += game.getPlayer(opponentId).damage(xValue, source.getSourceId(), game, false, true);
|
||||
damage += game.getPlayer(opponentId).damage(xValue * 2, source.getSourceId(), game, false, true);
|
||||
}
|
||||
game.getPlayer(source.getControllerId()).gainLife(damage, game);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue