ki77bot
Member
I am using this to ask a hobo underling for a drink:
BUT as I am using SmartStasis und FirstThingsFirst, it can occur that the hobo monkey steals meat in the very first round. In that case SS/FTF attacks and the round is over. As the scriptlet is NOT checking, if the drink was really "mixed", I can not be sure, that the skill has really been used five times successfully.
So, the question is:
Is there a way to check if the "summon hobo underling" really was executed, or even better check for the generated drink itself?
Cheers ki77bot.
edit: hmmm, I didn't check if have_skill($skill["Summon hobo underling"]) works...
Code:
while (i < 5) {
if (contains_text(visit_url("adventure.php?snarfblat=82"),"You're fighting")){
steal();
use_skill(1, $skill["Summon Hobo underling"]);
use_skill(1, $skill["ASK THE HOBO FOR A DRINK"]);
use_skill(1, $skill["ASK THE HOBO TO TELL YOU A JOKE"]);
i = i + 1;
run_combat();
} else {
set_property("choiceAdventure9","3");
set_property("choiceAdventure10","3");
set_property("choiceAdventure11","3");
set_property("choiceAdventure12","3");
adventure(1, $location[Giant's Castle]);
}
}
BUT as I am using SmartStasis und FirstThingsFirst, it can occur that the hobo monkey steals meat in the very first round. In that case SS/FTF attacks and the round is over. As the scriptlet is NOT checking, if the drink was really "mixed", I can not be sure, that the skill has really been used five times successfully.
So, the question is:
Is there a way to check if the "summon hobo underling" really was executed, or even better check for the generated drink itself?
Cheers ki77bot.
edit: hmmm, I didn't check if have_skill($skill["Summon hobo underling"]) works...
Last edited: