Fixed bug of Debt to the Deathless only dealing 1 * X damage instead of 2 * X.

This commit is contained in:
LevelX2 2013-05-15 00:44:48 +02:00
parent e11a2c30e2
commit 562bcb5dc8

View file

@ -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;