mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Guttersnipe - Fixed a bug that the triggered damage to opponents did not trigger ability of Curiosity if it enchanted Guttersnipe.
This commit is contained in:
parent
fe1ca2ae88
commit
9b6db41923
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ public class DamagePlayersEffect extends OneShotEffect<DamagePlayersEffect> {
|
|||
for (UUID playerId: game.getPlayer(source.getControllerId()).getInRange()) {
|
||||
Player player = game.getPlayer(playerId);
|
||||
if (player != null) {
|
||||
player.damage(amount.calculate(game, source), source.getId(), game, false, true);
|
||||
player.damage(amount.calculate(game, source), source.getSourceId(), game, false, true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -86,7 +86,7 @@ public class DamagePlayersEffect extends OneShotEffect<DamagePlayersEffect> {
|
|||
for (UUID playerId: game.getOpponents(source.getControllerId())) {
|
||||
Player player = game.getPlayer(playerId);
|
||||
if (player != null) {
|
||||
player.damage(amount.calculate(game, source), source.getId(), game, false, true);
|
||||
player.damage(amount.calculate(game, source), source.getSourceId(), game, false, true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue