From 9b6db419236e0406c2aef546eb3c3f0cf7666499 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 24 Jun 2013 00:08:53 +0200 Subject: [PATCH] * Guttersnipe - Fixed a bug that the triggered damage to opponents did not trigger ability of Curiosity if it enchanted Guttersnipe. --- .../mage/abilities/effects/common/DamagePlayersEffect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/abilities/effects/common/DamagePlayersEffect.java b/Mage/src/mage/abilities/effects/common/DamagePlayersEffect.java index 365b6381b9..9fd3fe3706 100644 --- a/Mage/src/mage/abilities/effects/common/DamagePlayersEffect.java +++ b/Mage/src/mage/abilities/effects/common/DamagePlayersEffect.java @@ -78,7 +78,7 @@ public class DamagePlayersEffect extends OneShotEffect { 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 { 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;