From 9f8722c359c5184f3e4009f58cec9125f7ccc79f Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 4 Mar 2013 08:46:03 +0100 Subject: [PATCH] Fixed that evolve did not look for last known information of permanant that triggered evolve if permanent meanwhile left the battlefield. --- Mage/src/mage/abilities/keyword/EvolveAbility.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mage/src/mage/abilities/keyword/EvolveAbility.java b/Mage/src/mage/abilities/keyword/EvolveAbility.java index 0ed888ad8a..4c3999afa3 100644 --- a/Mage/src/mage/abilities/keyword/EvolveAbility.java +++ b/Mage/src/mage/abilities/keyword/EvolveAbility.java @@ -129,6 +129,9 @@ class EvolveEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { UUID triggeringCreatureId = (UUID) getValue("triggeringCreature"); Permanent triggeringCreature = game.getPermanent(triggeringCreatureId); + if (triggeringCreature == null) { + triggeringCreature = (Permanent) game.getLastKnownInformation(triggeringCreatureId, Zone.BATTLEFIELD); + } if (triggeringCreature != null) { Permanent sourceCreature = game.getPermanent(source.getSourceId()); if (sourceCreature != null && EvolveAbility.isPowerOrThoughnessGreater(sourceCreature, triggeringCreature)) {