Remove cast ability when adventure is a permanent.

This prevents the adventure ability text from displaying when the card is on the battlefield.
This commit is contained in:
Patrick Hulin 2019-12-10 00:10:34 -05:00
parent abcd0512a5
commit 317a81678f
3 changed files with 41 additions and 0 deletions

View file

@ -35,6 +35,7 @@ public class AdventureCardSpellImpl extends CardImpl implements AdventureCardSpe
newSpellAbility.addEffect(ExileAdventureSpellEffect.getInstance());
newSpellAbility.setCardName(adventureName);
this.replaceSpellAbility(newSpellAbility);
spellAbility = newSpellAbility;
this.setName(adventureName);
this.adventureCardParent = adventureCardParent;