* Essence of the Wild - Fixed that the copy effect did not work correctly.

This commit is contained in:
LevelX2 2016-02-17 15:52:09 +01:00
parent 5ca4e3bc7a
commit ff52fcd588
2 changed files with 72 additions and 1 deletions

View file

@ -97,7 +97,7 @@ class EssenceOfTheWildEffect extends ReplacementEffectImpl {
@Override
public boolean replaceEvent(GameEvent event, Ability source, Game game) {
Permanent sourceObject = ((EntersTheBattlefieldEvent) event).getTarget();
Permanent sourceObject = game.getPermanentOrLKIBattlefield(source.getSourceId());
if (sourceObject != null) {
game.addEffect(new CopyEffect(Duration.Custom, sourceObject, event.getTargetId()), source);
}