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() {
super(Outcome.Benefit);
staticText = "create Vecna, a legendary 8/8 black Zombie God creature token " +
"with indestructible and all triggered abilities of the exiled cards";
staticText = "create Vecna, a legendary 8/8 black Zombie God creature token "
+ "with indestructible and all triggered abilities of the exiled cards";
}
private TheBookOfVileDarknessEffect(final TheBookOfVileDarknessEffect effect) {
@ -181,7 +181,8 @@ class TheBookOfVileDarknessEffect extends OneShotEffect {
}
Token token = new VecnaToken();
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) {
continue;
}