I did Jick's tower today. That seems like another alternative. It's hundreds of combats. I only expect to fight the sea bosses a couple dozen times.If you are seriously talking about making WHAM work for Yog-Urt, then shouldn't you consider the issues involved with fighting Shub-Jigguwatt? Specifically, to never do anything that causes damage to him other than "attack"? That is a bajillion times easier.
[*]Actions that deal damage are removed from opts unless round * (1 + equipped prayerbeads) > 8.
If you are seriously talking about making WHAM work for Yog-Urt, then shouldn't you consider the issues involved with fighting Shub-Jigguwatt? Specifically, to never do anything that causes damage to him other than "attack"? That is a bajillion times easier.
I did Jick's tower today. That seems like another alternative. It's hundreds of combats. I only expect to fight the sea bosses a couple dozen times.
The jars are fun. Great for when you're not going to ascend and want to do something different that day.I have not touched anything to do with the Dreamjars at all.
In build_items(), filter out any items that have already happened().
case "Yog-Urt, Elder Goddess of Hatred":
if(have_effect($effect[More Like a Suckrament]) > 0) {
int j;
advevent heal;
sort opts by dmg_taken(value.pdmg);
foreach i, opt in opts {
if(-1 * dmg_taken(opt.pdmg) > 0.9 * my_maxhp())
j +=1;
}
if(j < 8 - equipped_amount($item[Mer-kin prayerbeads]))
abort("WHAM: You have too few good healing items to fight Yog-Hurt. I suggest you run away.");
else if(dmg_dealt(basecache.dmg) > 0)
abort("WHAM: You have a passive damage source active. The fight will be lost if you automate it. I suggest you run away.");
else if(!have_skill($skill[ambidextrous funkslinging])) {
for i from 0 to 7 - equipped_amount($item[Mer-kin prayerbeads]) {
sort opts by dmg_taken(value.pdmg);
foreach i, opt in opts {
if(dmg_taken(opt.pdmg) < 0) {
heal = opt;
break;
}
}
enqueue(heal);
}
} else {
for i from 0 to 7 - equipped_amount($item[Mer-kin prayerbeads]) {
sort opts by dmg_taken(value.pdmg);
foreach i, opt in opts {
if(dmg_taken(opt.pdmg) < 0) {
heal = opt;
break;
}
}
enqueue(heal);
if(delevel_option(true).id != "")
enqueue(delevel_option(true));
else
macro();
}
}
}
Just toying around with ideas at the moment. What do people think of this? WHAM_yoghurt_healing is a map of the top-healing items
if (dmg_dealt(a.dmg) > 0 && round + equipped_amount($item[mer-kin prayerbeads]) <= 8) return; break; // don't kill yourself
boolean is_spell(skill s) {
if ($classes[pastamancer,sauceror] contains s.class) return true;
if (s.to_int() > 27 && s.to_int() < 44) return true; // hobopolis spells
return ($skills[noodles of fire,saucemageddon,volcanometeor showeruption] contains s);
}