correct token name, resolve name at load time for early detection of bugs
parent
ea8ddd3514
commit
e187c87694
|
@ -1,3 +1,5 @@
|
|||
def Dragon = TokenCardDefinitions.get("5/5 red Dragon creature token with flying");
|
||||
|
||||
[
|
||||
new MagicWhenComesIntoPlayTrigger() {
|
||||
@Override
|
||||
|
@ -21,7 +23,7 @@
|
|||
}
|
||||
game.doAction(new MagicPlayTokensAction(
|
||||
event.getPlayer(),
|
||||
TokenCardDefinitions.get("Dragon5"),
|
||||
Dragon,
|
||||
targets.size()
|
||||
));
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
def Dragon = TokenCardDefinitions.get("5/5 red Dragon creature token with flying");
|
||||
|
||||
[
|
||||
new MagicAtUpkeepTrigger() {
|
||||
@Override
|
||||
|
@ -13,7 +15,7 @@
|
|||
}
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
game.doAction(new MagicPlayTokenAction(event.getPlayer(),TokenCardDefinitions.get("Dragon5")));
|
||||
game.doAction(new MagicPlayTokenAction(event.getPlayer(),Dragon));
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue