Deathless Assassin
Member
So I've used the following for farming Vmask adventures for a while now:
The outfit changes gradually increase familiar weight, at the expense of +crit%. The runaway numbers assume a bunch of once a day buffs being in place. Predictably, something finally went wrong and caused me to keep running away, wasting turns until I was out of adventures, because I was unable to reach 22 runaways. The only surprise is that it took a couple months of working fine for this to happen.
I'm hitting a conceptual roadbloack, and have no idea how to proceed. I could change all instances of
to
But I have no idea how I'd create remainingRuns, which would just be an int for how many boots runs I have left, recalculated based on current gear.
Code:
void vmaskfarm()
{
if (get_property("_vmaskAdv") !="10" && to_int( get_property( "_banderRunaways")) < 23)
{
cli_execute("acquire snow suit");
cli_execute("familiar stomping boots");
cli_execute("equip snow suit");
cli_execute("try; acquire moveable feast");
cli_execute("try; use moveable feast");
cli_execute ("autoattack crits");
cli_execute ("outfit zcrita");
if(have_effect($effect[super accuracy]) == 0)
cli_execute ("gap accuracy");
cli_execute ("use phial of sleaziness");
while (get_property("_vmaskAdv") !="10" && to_int( get_property( "_banderRunaways")) < 18 )
adv1($location[Frat House (Stone Age)], -1, "");
cli_execute ("outfit zcritb");
if (get_property("_vmaskAdv") !="10" && to_int( get_property( "_banderRunaways")) < 20 )
adv1($location[Frat House (Stone Age)], -1, "");
cli_execute ("outfit zcritc");
if (get_property("_vmaskAdv") !="10" && to_int( get_property( "_banderRunaways")) < 21 )
adv1($location[Frat House (Stone Age)], -1, "");
cli_execute ("outfit zcritd");
if (get_property("_vmaskAdv") !="10" && to_int( get_property( "_banderRunaways")) < 22 )
adv1($location[Frat House (Stone Age)], -1, "");
cli_execute ("outfit zcrite");
if (get_property("_vmaskAdv") !="10" && to_int( get_property( "_banderRunaways")) < 23 )
adv1($location[Frat House (Stone Age)], -1, "");
cli_execute ("remedy sleazeform");
}
}
The outfit changes gradually increase familiar weight, at the expense of +crit%. The runaway numbers assume a bunch of once a day buffs being in place. Predictably, something finally went wrong and caused me to keep running away, wasting turns until I was out of adventures, because I was unable to reach 22 runaways. The only surprise is that it took a couple months of working fine for this to happen.

Code:
if (get_property("_vmaskAdv") !="10" && to_int( get_property( "_banderRunaways")) < number )
to
Code:
if (get_property("_vmaskAdv") !="10" && remainingRuns > 0 )
But I have no idea how I'd create remainingRuns, which would just be an int for how many boots runs I have left, recalculated based on current gear.