This commit is contained in:
jeff@delmarus.com 2021-09-04 15:02:20 -05:00
parent 800784dc70
commit debf310697

View file

@ -160,8 +160,8 @@ class TheBookOfVileDarknessEffect extends OneShotEffect {
TheBookOfVileDarknessEffect() { TheBookOfVileDarknessEffect() {
super(Outcome.Benefit); super(Outcome.Benefit);
staticText = "create Vecna, a legendary 8/8 black Zombie God creature token " + staticText = "create Vecna, a legendary 8/8 black Zombie God creature token "
"with indestructible and all triggered abilities of the exiled cards"; + "with indestructible and all triggered abilities of the exiled cards";
} }
private TheBookOfVileDarknessEffect(final TheBookOfVileDarknessEffect effect) { private TheBookOfVileDarknessEffect(final TheBookOfVileDarknessEffect effect) {
@ -181,7 +181,8 @@ class TheBookOfVileDarknessEffect extends OneShotEffect {
} }
Token token = new VecnaToken(); Token token = new VecnaToken();
for (MageObjectReference mor : morSet) { for (MageObjectReference mor : morSet) {
Card card = mor.getCard(game); // the card object in the mor doesn't work, so the permanent object is used
Permanent card = mor.getPermanentOrLKIBattlefield(game);
if (card == null) { if (card == null) {
continue; continue;
} }