mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -08:00
* Essence of the Wild - Fixed that the copy effect did not work correctly.
This commit is contained in:
parent
5ca4e3bc7a
commit
ff52fcd588
2 changed files with 72 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue