Bale
Minion
All other elements of battle preparation can be scripted:
Unfortunately the best I can do when encountering an incipient counter is to print an error message. The counter script contains 2 parameters and that cannot be summoned from a cli_executed call. I cannot import it since the name of the counter script is unknown.
There's a cute little script I'd like to release to the community, but I consider this a flaw I'm hoping to repair before doing so.
Code:
boolean adv_prep() {
if(get_counters("", 0, 0) != "") {
print(get_counters("", 0, 0)+" counter is up.", "red");
return false;
}
if(my_adventures() == 0) {
print("You have run out of adventures.", "red");
return false;
}
restore_hp(0);
restore_mp(0);
cli_execute("mood execute; burn extra");
if(get_property("betweenBattleScript") != "")
cli_execute("call "+ get_property("betweenBattleScript"));
return true;
}
Unfortunately the best I can do when encountering an incipient counter is to print an error message. The counter script contains 2 parameters and that cannot be summoned from a cli_executed call. I cannot import it since the name of the counter script is unknown.
There's a cute little script I'd like to release to the community, but I consider this a flaw I'm hoping to repair before doing so.