PaladinWhite
Member
So I've only recently started playing around with a consult script. And I'm running up against a wall where the script is still trying to run, even when Mafia hits the Underworld entrance choice adventure.
My script reads:
This works fine anytime I win the combat before dying. But when I die, and Mafia hits the Underworld choice adventure, it spits out: You don't have a skill uniquely matching "1 Storm of the Scarab". Then I have to run through the choice manually, via the Relay Browser, and run the script again when I'm back in combat.
If the script would just hand control back off, Mafia would navigate the choice adventure correctly, and return me to combat. (It was doing this correctly before I was using a consult script). But it looks like the script is still trying, and failing, to run the choice adventure on its own.
How can I fix this? Can I tell the script to stop without using abort(), which will stop Mafia altogether?
My script reads:
Code:
void main(int round, monster foe, string page) {
use_skill($skill[Storm of the Scarab]);
}
This works fine anytime I win the combat before dying. But when I die, and Mafia hits the Underworld choice adventure, it spits out: You don't have a skill uniquely matching "1 Storm of the Scarab". Then I have to run through the choice manually, via the Relay Browser, and run the script again when I'm back in combat.
If the script would just hand control back off, Mafia would navigate the choice adventure correctly, and return me to combat. (It was doing this correctly before I was using a consult script). But it looks like the script is still trying, and failing, to run the choice adventure on its own.
How can I fix this? Can I tell the script to stop without using abort(), which will stop Mafia altogether?