Fixed a bug that Vizkopa Guildmage's second ability dealed damage instead of doing life loss.

This commit is contained in:
LevelX2 2013-03-05 23:45:01 +01:00
parent 2409e229c0
commit dc376e49f1

View file

@ -151,7 +151,7 @@ class OpponentsLoseLifeEffect extends OneShotEffect<OpponentsLoseLifeEffect> {
for (UUID opponentId: game.getOpponents(source.getControllerId())) { for (UUID opponentId: game.getOpponents(source.getControllerId())) {
Player opponent = game.getPlayer(opponentId); Player opponent = game.getPlayer(opponentId);
if (opponent != null) { if (opponent != null) {
opponent.damage(amountLifeGained, source.getSourceId(), game, false, true); opponent.loseLife(amountLifeGained, game);
} }
} }
} }