mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
Fixed a bug that Vizkopa Guildmage's second ability dealed damage instead of doing life loss.
This commit is contained in:
parent
2409e229c0
commit
dc376e49f1
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class OpponentsLoseLifeEffect extends OneShotEffect<OpponentsLoseLifeEffect> {
|
|||
for (UUID opponentId: game.getOpponents(source.getControllerId())) {
|
||||
Player opponent = game.getPlayer(opponentId);
|
||||
if (opponent != null) {
|
||||
opponent.damage(amountLifeGained, source.getSourceId(), game, false, true);
|
||||
opponent.loseLife(amountLifeGained, game);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue