The rule works correctly for the player. When is the time of AI, the game crashes.Zethfox
try this instead:
auto=lord(creature[-active]) cantattack
auto=lord(creature[-active]) cantblock
auto=@each mycombatbegins:target(creature|mybattlefield) transforms((active)) ueot
of course we will need to modify the ai to not crash while deciding who to make active lol...and to play its creatures more often, but you get the idea.
Where in the code, I set up so that the AI can choose correctly the creature?
When I use the same rule but using a token to select the creature, AI does not crash
in rule.txt
Code: Select all
#Can be just one active pokemon on Battlefield
auto=@each my combatbegins:aslongas(creature|myBattlefield) token(-1r)
Code: Select all
[card]
name=Active Pokewon
auto=aslongas(creature[counter{0/0.1.Active}]|myBattlefield):moveto(stack)
auto=@movedto(this|exile):transforms((active)) target(creature|myBattlefield)
auto=moveto(exile)
type=Nothing
id=-1r
[/card]