mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +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())) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue