AuraReplacementEffect fix - changed source id to the Aura's ID and not the ability source ID.

This commit is contained in:
North 2012-04-15 18:01:50 +03:00
parent 379c57434c
commit 93018628df

View file

@ -86,7 +86,7 @@ public class AuraReplacementEffect extends ReplacementEffectImpl<AuraReplacement
if (targetId == null) {
Target target = card.getSpellAbility().getTargets().get(0);
Player player = game.getPlayer(card.getOwnerId());
if (player != null && player.choose(Outcome.BoostCreature, target, sourceId, game)) {
if (player != null && player.choose(Outcome.BoostCreature, target, card.getId(), game)) {
targetId = target.getFirstTarget();
}
}