Using v0.15, and this could be a problem in the previous versions as well. Just not happened to me before.
When trying to fight Ed in the pyramid with less than 7adv the script just stop. Mafia still look busy like the script is running, but all the CLI show is:
Code:
[856] The Middle Chamber
Encounter: Wheel in the Pyramid, Keep on Turning
Conditions satisfied after 1 adventures.
Visit to Pyramid: The Lower Chambers in progress...
[857] The Lower Chambers (Empty/Empty/Ed's Chamber)
Encounter: The Ancient Buried Pyramid
BCC: Fighting Ed
[858] The Lower Chambers (Empty/Empty/Ed's Chamber)
KoLmafia declares world peace.
And that world peace is me aborting the script. Add a checker for the neccesary number of Adv before engaging Ed and if less than 7, stop the script explaining that you need at least 7 adv to fight Ed.