Winterbay's Helpful Automatic Monsterbasher (WHAM)

Crowther

Active member
This script's choices often amuse me greatly. Today I was fighting a cactus with my full set of skills (rare these days). Here's a log of the skills it used:

Round 1: Crowther casts SILENT SLICE!
Round 2: Crowther casts STEALTH MISTLETOE!
Round 3: Crowther casts SUCKERPUNCH!
Round 4: Crowther casts ENTANGLING NOODLES!
Round 5: Crowther casts TORMENT PLANT!
Round 6: Crowther casts CANDYBLAST!
Round 7: Crowther casts TORMENT PLANT!
Round 8: Crowther casts CANDYBLAST!

I would never have thought to do that. And for some reason, I find it very funny.
 

Winterbay

Active member
Irregularly, I find WHAM running 29 rounds of stasis since it 'knows' I can kill the monster in one hit. Problem is, if I fumble, I end up with nothing... I'd rather not have 10 wasted rounds of stasis regenerating the mp I used for those 10 rounds, so I always add an extra 10 round buffer into my copy of SmartStasis. Since it's all in WHAM now though, it's a bit more complicated... and yet, more simple. Since if I can convince you to add a preference for it to WHAM, I don't need to keep mucking about with it every time it updates. Or not, if other people don't end up having stupid plagues of locust stasis for 29 rounds because of their NPZRs, Cocoabos, or the like.

Anyways, I currently modify:
Code:
advevent stasis_option() {  // returns most profitable lowest-damage option
    boolean ignoredelevel = (smacks.id != "" && kill_rounds(smacks.dmg) == 1);
    sort myoptions by -(to_profit(value)*min(kill_rounds(value),max(0,maxround - round - 15)));
last line, changed -5 to -15.
Code:
string stasis_repeat_WHAM(int turns) {       // the string of repeat conditions for stasising
   int expskill() { int res; foreach s in $skills[] if (s.combat && have_skill(s)) res = max(res,mp_cost(s)); return res; }
   return "!hpbelow "+my_stat("hp")+                                                        // hp
      (my_stat("hp") < my_maxhp() ? " && hpbelow "+my_maxhp() : "")+
      " && !mpbelow "+my_stat("mp")+                                                        // mp
      (my_stat("mp") < min(expskill(),my_maxmp()) ? " && mpbelow "+min(expskill(),my_maxmp()) : "")+
      " && !pastround "+(turns == 0 ? floor(maxround - 13 - kill_rounds(smack)) : (turns + round - 10)) +     // time to kill
Last line, changed -3 to -13 and added a -10 to the "continuing combat" section.
Code:
string stasis_WHAM() {
    int turns;
    if ($monsters[naughty sorority nurse, naughty sorceress, naughty sorceress (2), pufferfish, bonerdagon] contains m)
        return page;    // never stasis these monsters
    if (m == $monster[quantum mechanic] && m_hit_chance() > 0.1)
        return page;  // avoid teleportitis
    stasis_option();
    attack_option();
    while ((to_profit(plink) > to_float(vars["BatMan_profitforstasis"]) || is_our_huckleberry()) &&
      (round < maxround - 13 - kill_rounds(smacks) && die_rounds() > kill_rounds(smacks))) {
Last line, changed -3 to -13.

If a configurable variable were set, those 3 lines (and 4 places) would be where I think it would need to go to enable slightly shorter stasis.

Is anyone relying on WHAM_round_limit or could we just repurpose that variable?

Edit: Scratch that, I may as well add WHAM_safetymargin :)

Edit, edit: And 4.1 has been uploaded and should fix, hopefully, most of the reported issues as well as add the abovementioned setting.
 
Last edited:

Theraze

Active member
Thanks! Just a note... one spot did get missed:
Code:
      " && !pastround "+(turns == 0 ? floor(maxround - (3 + WHAM_safetymargin) - kill_rounds(smack)) : (turns + round)) +     // time to kill
should be
Code:
      " && !pastround "+(turns == 0 ? floor(maxround - (3 + WHAM_safetymargin) - kill_rounds(smack)) : (turns + round - WHAM_safetymargin)) +     // time to kill
since that second bit is the one that gets called anytime stasis starts by running a combo or something else before doing more stasis.
 

Jar of Jam

Member
Code:
Unknown variable 'WHAM_safetymargin' (WHAM.ash, line 489)
Consult script 'WHAM.ash' not found.
What am I doing wrong ? Does the new version require something else apart from the overwrite of the old file ?
 

Winterbay

Active member
Code:
Unknown variable 'WHAM_safetymargin' (WHAM.ash, line 489)
Consult script 'WHAM.ash' not found.
What am I doing wrong ? Does the new version require something else apart from the overwrite of the old file ?

Well, I seem to have forgotten to declare that variable... (I wonder why it worked fine here and verify skipped by it just fine - ahh, I had managed to create a -ash.txt-version as well with the old code in it which got verified against instead...)
4.1.1 should do that as well as fix Theraze's point above.

In case the zlib variable isn't there (mine appeared to not want to be there) this can be used to set it:
Code:
ash import zlib.ash; setvar("WHAM_safetymargin", 0);
 

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
Staff member
I know this is a fairly common problem, but since a few updates of WHAM ago, I've been getting

KoLmafia thinks it is round 4 but KoL thinks it is round 3

etc. all the time in even simple battles. Any suggestions as to what this could be?
 

Glaykith

New member
I've been seeing an issue where WHAM will intermittently stasis right up to the round limit and then throw up its hands by declaring that it cannot figure out a combat strategy. The WHAM_safetymargin variable introduced in 4.1 seems to be intended to protect against this and setting a non-zero value does seem to have the desired effect most of the time, but I'm still seeing irregular instances where WHAM will continue to stasis up to the round limit and then abort.

Any ideas?

Edit: Added log of failed combat with verbosity = 7, WHAM_safetymargin = 5, and WHAM 4.1.1.

[61120] Hamburglaris Shield Generator
Encounter: mutated alielephant
Strategy: /Users/<...>/Library/Application Support/KoLmafia/ccs/mimic.ccs [mutated alielephant]
Round 0: glaykith wins initiative!
1 HP costs 0.022μ. ( 4,457 / 4689 )
1 MP costs 0.976μ. ( 5,940 / 5960 )
ATT: 3,713 (94% × 81.24, death in 59)
DEF: 3,066 (8.8% × 9.81, win in 86)
HP: 2,304, Value: 8,249.69 μ
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: Monster HP is 2304.0.
WHAM: Running SmartStasis
Profit per round:
Action Profit Damage Other
base; Stocking Mimic (104.21μ) 124.33μ 26.01 (-4.01 μ/dmg) Att: -8.61 (-0.99 DPR) Def: -8.61 HP: -26.86 MP: 26.86

Round 1: glaykith executes a macro!
Round 1: glaykith tries to steal an item!
You lose 78 hit points
Round 2: glaykith casts CANDYBLAST!
You acquire an item: Senior Mints
You lose 85 hit points
Look! You found 1 Senior Mints (50μ)!
Round 3: glaykith executes a macro!
Round 3: glaykith casts CANDYBLAST!
You lose 73 hit points
Round 4: glaykith executes a macro!
Round 4: glaykith casts CANDYBLAST!
You acquire an item: Cold Hots candy
Look! You found 1 Cold Hots candy (50μ)!
Round 5: glaykith executes a macro!
Round 5: glaykith casts CANDYBLAST!
You acquire an item: Senior Mints
You gain 682 Meat.
You lose 81 hit points
Look! You found 1 Senior Mints (50μ)!
Round 6: glaykith executes a macro!
Round 6: glaykith casts CANDYBLAST!
You acquire an item: Senior Mints
You lose 88 hit points
Look! You found 1 Senior Mints (50μ)!
Round 7: glaykith executes a macro!
Round 7: glaykith casts CANDYBLAST!
You acquire an item: Cold Hots candy
Look! You found 1 Cold Hots candy (50μ)!
Round 8: glaykith executes a macro!
Round 8: glaykith casts CANDYBLAST!
Round 9: glaykith executes a macro!
Round 9: glaykith casts CANDYBLAST!
You gain 313 hit points
You gain 313 Mojo Points
Round 10: glaykith casts CANDYBLAST!
Round 11: glaykith casts CANDYBLAST!
You acquire an item: Daffy Taffy
You lose 75 hit points
Round 12: glaykith casts CANDYBLAST!
You acquire an item: Mr. Mediocrebar
Round 13: glaykith casts CANDYBLAST!
You acquire an item: Cold Hots candy
You lose 69 hit points
Round 14: glaykith casts CANDYBLAST!
Round 15: glaykith casts CANDYBLAST!
You gain 158 hit points
You gain 158 Mojo Points
You lose 76 hit points
Round 16: glaykith casts CANDYBLAST!
You acquire an item: Senior Mints
You gain 159 hit points
You gain 159 Mojo Points
You lose 72 hit points
Round 17: glaykith casts CANDYBLAST!
Round 18: glaykith casts CANDYBLAST!
You acquire an item: Daffy Taffy
You gain 159 hit points
You gain 159 Mojo Points
You lose 77 hit points
Round 19: glaykith casts CANDYBLAST!
Round 20: glaykith casts CANDYBLAST!
Round 21: glaykith casts CANDYBLAST!
Round 22: glaykith casts CANDYBLAST!
You acquire an item: Senior Mints
Round 23: glaykith casts CANDYBLAST!
You gain 157 hit points
You gain 157 Mojo Points
Round 24: glaykith casts CANDYBLAST!
Round 25: glaykith casts CANDYBLAST!
Round 26: glaykith casts CANDYBLAST!
You acquire an item: Senior Mints
Round 27: glaykith casts CANDYBLAST!
You acquire an item: Wint-O-Fresh mint
Round 28: glaykith casts CANDYBLAST!
Round 29: glaykith casts CANDYBLAST!
You acquire an item: Daffy Taffy
Look! You found 1 Cold Hots candy (50μ)!
Look! You found 3 Daffy Taffy (90μ)!
Look! You found 1 Mr. Mediocrebar (50μ)!
Look! You found 3 Senior Mints (150μ)!
Look! You found 1 Wint-O-Fresh mint (50μ)!
WHAM: SmartStasis complete.
WHAM: SS did not finish the fight, continuing with script execution.
WHAM: Starting evaluation and performing of attack
WHAM: Unable to delevel until you can kill the monster without it killing you. Try it yourself.
WHAM: Unable to determine a valid combat strategy. For your benefit here are the numbers for you combat skills.
WHAM: Attack with your weapon: 268.00 potential damage (raw damage: 386.81) and a hitchance of 97.73%.
WHAM: Thrust-Smack: 268.00 potential damage (raw damage: 405.62) and a hitchance of 100.00%.
WHAM: Shieldbutt: 268.00 potential damage (raw damage: 428.81) and a hitchance of 100.00%.
WHAM: Lunging Thrust-Smack: 268.00 potential damage (raw damage: 1176.43) and a hitchance of 100.00%.
WHAM: Spectral Snapper: 268.00 potential damage (raw damage: 634.20) and a hitchance of 100.00%.
WHAM: Fearful Fettucini: 268.00 potential damage (raw damage: 1116.90) and a hitchance of 100.00%.
WHAM: Saucegeyser: 268.00 potential damage (raw damage: 1118.90) and a hitchance of 100.00%.
WHAM: Moxious Maneuver: 268.00 potential damage (raw damage: 395.81) and a hitchance of 100.00%.
WHAM: d8: 268.00 potential damage (raw damage: 495.00) and a hitchance of 100.00%.
WHAM: d20: 268.00 potential damage (raw damage: 682.50) and a hitchance of 100.00%.
WHAM: smoking grass: 268.00 potential damage (raw damage: 275.00) and a hitchance of 100.00%.
WHAM: shard of double-ice: 268.00 potential damage (raw damage: 3693.00) and a hitchance of 100.00%.
WHAM: love song of vague ambiguity: 268.00 potential damage (raw damage: 3046.00) and a hitchance of 100.00%.
WHAM: love song of smoldering passion: 268.00 potential damage (raw damage: 3054.00) and a hitchance of 100.00%.
WHAM: d12: 268.00 potential damage (raw damage: 422.50) and a hitchance of 100.00%.
WHAM: cursed dirty joke scroll: 268.00 potential damage (raw damage: 3693.00) and a hitchance of 100.00%.
WHAM: love song of naughty innuendo: 268.00 potential damage (raw damage: 3693.00) and a hitchance of 100.00%.
WHAM: divine can of silly string: 268.00 potential damage (raw damage: 3054.00) and a hitchance of 100.00%.
WHAM: love song of sugary cuteness: 268.00 potential damage (raw damage: 3046.00) and a hitchance of 100.00%.
WHAM: divine blowout: 268.00 potential damage (raw damage: 3693.00) and a hitchance of 100.00%.
WHAM: love song of disturbing obsession: 268.00 potential damage (raw damage: 3054.00) and a hitchance of 100.00%.
WHAM: divine noisemaker: 268.00 potential damage (raw damage: 3046.00) and a hitchance of 100.00%.
WHAM: cursed cannonball: 268.00 potential damage (raw damage: 1524.00) and a hitchance of 100.00%.
WHAM: love song of icy revenge: 268.00 potential damage (raw damage: 3693.00) and a hitchance of 100.00%.
WHAM: crusty hula hoop: 268.00 potential damage (raw damage: 3967.00) and a hitchance of 100.00%.
WHAM: red wagon: 268.00 potential damage (raw damage: 3776.00) and a hitchance of 100.00%.
WHAM: rickety old unicycle: 268.00 potential damage (raw damage: 7478.00) and a hitchance of 100.00%.
WHAM: cursed voodoo skull: 268.00 potential damage (raw damage: 3054.00) and a hitchance of 100.00%.
WHAM: rogue swarmer: 268.00 potential damage (raw damage: 272.00) and a hitchance of 100.00%.
WHAM: Volcanometeor Showeruption: 268.00 potential damage (raw damage: 3326.70) and a hitchance of 100.00%.
WHAM: skate skates: 225.00 potential damage (raw damage: 225.00) and a hitchance of 100.00%.
WHAM: unstable laser battery: 225.00 potential damage (raw damage: 225.00) and a hitchance of 100.00%.
WHAM: facehugging alien: 202.00 potential damage (raw damage: 202.00) and a hitchance of 100.00%.
WHAM: groupie lipstick: 200.00 potential damage (raw damage: 200.00) and a hitchance of 100.00%.
WHAM: Zombo's empty eye: 175.00 potential damage (raw damage: 175.00) and a hitchance of 100.00%.
WHAM: spangly unitard: 168.50 potential damage (raw damage: 168.50) and a hitchance of 100.00%.
WHAM: shrinking powder: 154.10 potential damage (raw damage: 154.10) and a hitchance of 100.00%.
WHAM: lewd playing card: 148.50 potential damage (raw damage: 148.50) and a hitchance of 100.00%.
WHAM: sawblade fragment: 125.00 potential damage (raw damage: 125.00) and a hitchance of 100.00%.
WHAM: floorboard cruft: 110.00 potential damage (raw damage: 110.00) and a hitchance of 100.00%.
WHAM: petrified wood: 110.00 potential damage (raw damage: 110.00) and a hitchance of 100.00%.
WHAM: killing feather: 110.00 potential damage (raw damage: 110.00) and a hitchance of 100.00%.
WHAM: flirtatious feather: 100.00 potential damage (raw damage: 100.00) and a hitchance of 100.00%.
WHAM: frozen feather: 100.00 potential damage (raw damage: 100.00) and a hitchance of 100.00%.
WHAM: flaming feather: 100.00 potential damage (raw damage: 100.00) and a hitchance of 100.00%.
WHAM: sausage bomb: 100.00 potential damage (raw damage: 100.00) and a hitchance of 100.00%.
WHAM: macrame net: 95.00 potential damage (raw damage: 95.00) and a hitchance of 100.00%.
WHAM: pixel cross: 90.00 potential damage (raw damage: 90.00) and a hitchance of 100.00%.
WHAM: Stringozzi Serpent: 87.00 potential damage (raw damage: 87.00) and a hitchance of 100.00%.
WHAM: exploding hacky-sack: 87.00 potential damage (raw damage: 87.00) and a hitchance of 100.00%.
WHAM: tequila grenade: 87.00 potential damage (raw damage: 87.00) and a hitchance of 100.00%.
WHAM: ovoid leather thing: 81.00 potential damage (raw damage: 81.00) and a hitchance of 100.00%.
WHAM: stone frisbee: 81.00 potential damage (raw damage: 81.00) and a hitchance of 100.00%.
WHAM: d6: 73.50 potential damage (raw damage: 73.50) and a hitchance of 100.00%.
WHAM: patchouli oil bomb: 72.00 potential damage (raw damage: 72.00) and a hitchance of 100.00%.
WHAM: molotov cocktail cocktail: 72.00 potential damage (raw damage: 72.00) and a hitchance of 100.00%.
WHAM: brick of sand: 70.00 potential damage (raw damage: 70.00) and a hitchance of 100.00%.
WHAM: water pipe bomb: 65.00 potential damage (raw damage: 65.00) and a hitchance of 100.00%.
WHAM: beer bomb: 65.00 potential damage (raw damage: 65.00) and a hitchance of 100.00%.
WHAM: Wave of Sauce: 62.00 potential damage (raw damage: 62.00) and a hitchance of 100.00%.
WHAM: rocky raccoon: 55.00 potential damage (raw damage: 55.00) and a hitchance of 100.00%.
WHAM: bottle of alcohol: 55.00 potential damage (raw damage: 55.00) and a hitchance of 100.00%.
WHAM: NG: 55.00 potential damage (raw damage: 55.00) and a hitchance of 100.00%.
WHAM: pixel holy water: 55.00 potential damage (raw damage: 55.00) and a hitchance of 100.00%.
WHAM: ferret bait: 52.50 potential damage (raw damage: 52.50) and a hitchance of 100.00%.
WHAM: sake bomb: 52.50 potential damage (raw damage: 52.50) and a hitchance of 100.00%.
WHAM: Rain-Doh orange agent: 50.00 potential damage (raw damage: 50.00) and a hitchance of 100.00%.
WHAM: bus pass: 47.00 potential damage (raw damage: 47.00) and a hitchance of 100.00%.
WHAM: mauve plastic oyster egg: 42.50 potential damage (raw damage: 42.50) and a hitchance of 100.00%.
WHAM: grouchy restless spirit: 42.00 potential damage (raw damage: 42.00) and a hitchance of 100.00%.
WHAM: razor-tipped yo-yo: 40.00 potential damage (raw damage: 40.00) and a hitchance of 100.00%.
WHAM: photoprotoneutron torpedo: 40.00 potential damage (raw damage: 40.00) and a hitchance of 100.00%.
WHAM: monomolecular yo-yo: 40.00 potential damage (raw damage: 40.00) and a hitchance of 100.00%.
WHAM: imp air: 37.50 potential damage (raw damage: 37.50) and a hitchance of 100.00%.
WHAM: paint bomb: 37.50 potential damage (raw damage: 37.50) and a hitchance of 100.00%.
WHAM: Bohemian rhapsody: 36.50 potential damage (raw damage: 36.50) and a hitchance of 100.00%.
WHAM: black spot: 35.50 potential damage (raw damage: 35.50) and a hitchance of 100.00%.
WHAM: cocktail napkin: 35.00 potential damage (raw damage: 35.00) and a hitchance of 100.00%.
WHAM: ancient spice: 35.00 potential damage (raw damage: 35.00) and a hitchance of 100.00%.
WHAM: plastic cup of beer: 35.00 potential damage (raw damage: 35.00) and a hitchance of 100.00%.
WHAM: toy mercenary: 32.50 potential damage (raw damage: 32.50) and a hitchance of 100.00%.
WHAM: fat bottom quark: 32.50 potential damage (raw damage: 32.50) and a hitchance of 100.00%.
WHAM: Candyblast: 32.00 potential damage (raw damage: 32.00) and a hitchance of 100.00%.
WHAM: Cannelloni Cannon: 32.00 potential damage (raw damage: 32.00) and a hitchance of 100.00%.
WHAM: Miniborg Destroy-O-Bot: 25.00 potential damage (raw damage: 25.00) and a hitchance of 100.00%.
WHAM: boulder: 25.00 potential damage (raw damage: 25.00) and a hitchance of 100.00%.
WHAM: pygmy blowgun: 25.00 potential damage (raw damage: 25.00) and a hitchance of 100.00%.
WHAM: plot hole: 22.50 potential damage (raw damage: 22.50) and a hitchance of 100.00%.
WHAM: tree-eating kite: 22.50 potential damage (raw damage: 22.50) and a hitchance of 100.00%.
WHAM: Toss: 22.00 potential damage (raw damage: 22.00) and a hitchance of 100.00%.
WHAM: frigid ninja stars: 22.00 potential damage (raw damage: 22.00) and a hitchance of 100.00%.
WHAM: flaregun: 19.80 potential damage (raw damage: 19.80) and a hitchance of 100.00%.
WHAM: stick of dynamite: 17.50 potential damage (raw damage: 17.50) and a hitchance of 100.00%.
WHAM: dwarf bread: 17.50 potential damage (raw damage: 17.50) and a hitchance of 100.00%.
WHAM: yo: 17.50 potential damage (raw damage: 17.50) and a hitchance of 100.00%.
WHAM: Tango of Terror: 16.50 potential damage (raw damage: 16.50) and a hitchance of 100.00%.
WHAM: Disco Face Stab: 16.50 potential damage (raw damage: 16.50) and a hitchance of 100.00%.
WHAM: Rain-Doh blue balls: 15.00 potential damage (raw damage: 15.00) and a hitchance of 100.00%.
WHAM: candy kneecapping stick: 15.00 potential damage (raw damage: 15.00) and a hitchance of 100.00%.
WHAM: robotronic egg: 14.20 potential damage (raw damage: 14.20) and a hitchance of 100.00%.
WHAM: mariachi G-string: 12.50 potential damage (raw damage: 12.50) and a hitchance of 100.00%.
WHAM: Gnomitronic Hyperspatial Demodulizer: 11.00 potential damage (raw damage: 11.00) and a hitchance of 100.00%.
WHAM: Silent Slice: 10.00 potential damage (raw damage: 10.00) and a hitchance of 100.00%.
WHAM: ancient poisoned dart: 8.00 potential damage (raw damage: 8.00) and a hitchance of 100.00%.
WHAM: baseball: 7.00 potential damage (raw damage: 7.00) and a hitchance of 100.00%.
WHAM: Colon Annihilation Hot Sauce: 7.00 potential damage (raw damage: 7.00) and a hitchance of 100.00%.
WHAM: possessed tomato: 7.00 potential damage (raw damage: 7.00) and a hitchance of 100.00%.
WHAM: sonar-in-a-biscuit: 6.00 potential damage (raw damage: 6.00) and a hitchance of 100.00%.
WHAM: leftovers of indeterminate origin: 5.50 potential damage (raw damage: 5.50) and a hitchance of 100.00%.
WHAM: terrible poem: 5.00 potential damage (raw damage: 5.00) and a hitchance of 100.00%.
WHAM: spectre scepter: 4.25 potential damage (raw damage: 4.25) and a hitchance of 100.00%.
WHAM: cinnamon troll doll: 4.00 potential damage (raw damage: 4.00) and a hitchance of 100.00%.
WHAM: green BRICKO brick: 4.00 potential damage (raw damage: 4.00) and a hitchance of 100.00%.
WHAM: pool of liquid metal: 3.75 potential damage (raw damage: 3.75) and a hitchance of 100.00%.
WHAM: Knob Goblin firecracker: 3.00 potential damage (raw damage: 3.00) and a hitchance of 100.00%.
WHAM: Sing: 2.50 potential damage (raw damage: 2.50) and a hitchance of 100.00%.
WHAM: razor-sharp can lid: 2.50 potential damage (raw damage: 2.50) and a hitchance of 100.00%.
WHAM: seal tooth: 1.00 potential damage (raw damage: 1.00) and a hitchance of 100.00%.
WHAM: Consume Burrowgrub: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Rain-Doh indigo cup: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: fat stacks of cash: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Entangling Noodles: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: spider web: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Saucy Salve: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: finger cuffs: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: disease: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: CSA obedience grenade: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: wussiness potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Doc Galaktik's Ailment Ointment: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: cast: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: patchouli incense stick: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: roofie: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: 8-ball: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Knob Goblin seltzer: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: vial of patchouli oil: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Knob Goblin superseltzer: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Dyspepsi-Cola: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: d10: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: top: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Mountain Stream soda: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Tom's of the Spanish Main Toothpaste: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: handful of sawdust: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: 33398 scroll: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: imitation crab meat: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: powdered organs: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: underwater slingshot: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: filthy poultice: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: gauze garter: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: chloroform rag: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (88 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (97 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Doc Galaktik's Homeopathic Elixir: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: chaos butterfly: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: palm-frond net: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: depantsing bomb: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: black plastic oyster egg: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: procrastination potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: gas balloon: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: clingfilm tangle: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: off-white plastic oyster egg: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: handful of sand: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: divine cracker: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: inkwell: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: unrefined Mountain Stream syrup: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: red plastic oyster egg: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: soggy used band-aid: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: banana peel: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (216 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: black pepper: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: palm-frond fan: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: gob of wet hair: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: swirly potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: milky potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: bubbly potion: 0.00 potential damage (raw damage: -14.00) and a hitchance of 100.00%.
WHAM: cloudy potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: fizzy potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: dark potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: murky potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: effervescent potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: smoky potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: bottle of Monsieur Bubble: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: bronzed locust: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: fancy bath salts: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Mer-kin healscroll: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: blue pixel potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: barbed-wire fence: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: 30669 scroll: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: yellow plastic oyster egg: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: shaving cream: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Mer-kin killscroll: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (129 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: anemone nematocyst: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: stuffed gray blob: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: tropical orchid: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: grass clippings: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: lawn dart: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: golden ring: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: spooky sap: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: tiny goth giant: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: red pixel potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: licorice garrote: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (182 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: 668 scroll: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Mob Penguin cellular phone: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (165 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: scented massage oil: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: green smoke bomb: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (176 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (142 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: pufferfish spine: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: d4: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (115 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: El Vibrato punchcard (104 holes): 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: You now have the knowledge needed to go forward and be victorious
Round 30: glaykith executes a macro!
KoLmafia thinks it is round 31 but KoL thinks it is round 30
WHAM: Unable to figure out a combat strategy. Helpful information regarding your skills have been printed to the CLI
You're on your own, partner.
 
Last edited:

Theraze

Active member
I believe it MIGHT be because the second one (the one that got missed for safetymargin initially) will try to stasis until the last round before it NEEDS to kill them, unlike the initial consideration, which will stasis until 3 rounds before do or die time. The fix MIGHT be to add a -3 to the second, like the first...
 

Winterbay

Active member
I've been seeing an issue where WHAM will intermittently stasis right up to the round limit and then throw up its hands by declaring that it cannot figure out a combat strategy. The WHAM_safetymargin variable introduced in 4.1 seems to be intended to protect against this and setting a non-zero value does seem to have the desired effect most of the time, but I'm still seeing irregular instances where WHAM will continue to stasis up to the round limit and then abort.

Any ideas?

Edit: Added log of failed combat with verbosity = 7, WHAM_safetymargin = 5, and WHAM 4.1.1.

Try this one and see if that helps? (it does what Theraze suggested so...) :)
 

Glaykith

New member
Try this one and see if that helps? (it does what Theraze suggested so...) :)

Hmm... looks like that wasn't it. :(

Same settings as before, but with 4.1.2. Interestingly, it bailed at round 28 instead of 29. Not sure if that's significant or not.

[61138] Hamburglaris Shield Generator
Encounter: mutated alielephant
Strategy: /Users/<...>/Library/Application Support/KoLmafia/ccs/mimic.ccs [mutated alielephant]
Round 0: glaykith wins initiative!
1 HP costs 0.022μ. ( 4,618 / 4690 )
1 MP costs 0.976μ. ( 5,931 / 5961 )
ATT: 3,714 (94% × 81.26, death in 61)
DEF: 3,067 (8.8% × 9.81, win in 86)
HP: 2,305, Value: 8,251.88 μ
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: Monster HP is 2305.0.
WHAM: Running SmartStasis
Profit per round:
Action Profit Damage Other
base; Stocking Mimic (104.21μ) 131.02μ 26.01 (-4.01 μ/dmg) Att: -8.61 (-0.99 DPR) Def: -8.61 HP: -26.86 MP: 26.86

Round 1: glaykith executes a macro!
Round 1: glaykith tries to steal an item!
You acquire an item: elven medi-pack
You lose 82 hit points
Round 2: glaykith casts CANDYBLAST!
You lose 79 hit points
You snatched a elven medi-pack (150μ)!
Revised monster value: 8,188.13
Round 3: glaykith executes a macro!
Round 3: glaykith casts CANDYBLAST!
You gain 757 Meat.
You lose 77 hit points
Round 4: glaykith executes a macro!
Round 4: glaykith casts CANDYBLAST!
You gain 625 Meat.
You lose 75 hit points
Round 5: glaykith executes a macro!
Round 5: glaykith casts CANDYBLAST!
You gain 760 Meat.
You lose 85 hit points
Round 6: glaykith executes a macro!
Round 6: glaykith casts CANDYBLAST!
You acquire an item: Wint-O-Fresh mint
Look! You found 1 Wint-O-Fresh mint (50μ)!
Round 7: glaykith executes a macro!
Round 7: glaykith casts CANDYBLAST!
You lose 70 hit points
Round 8: glaykith executes a macro!
Round 8: glaykith casts CANDYBLAST!
You acquire an item: Mr. Mediocrebar
You lose 72 hit points
Look! You found 1 Mr. Mediocrebar (50μ)!
Round 9: glaykith executes a macro!
Round 9: glaykith casts CANDYBLAST!
You acquire an item: Wint-O-Fresh mint
You gain 1,177 Meat.
Look! You found 1 Wint-O-Fresh mint (50μ)!
Round 10: glaykith executes a macro!
Round 10: glaykith casts CANDYBLAST!
Round 11: glaykith executes a macro!
Round 11: glaykith casts CANDYBLAST!
You acquire an item: Wint-O-Fresh mint
Look! You found 1 Wint-O-Fresh mint (50μ)!
Round 12: glaykith executes a macro!
Round 12: glaykith casts CANDYBLAST!
You acquire an item: Daffy Taffy
You lose 83 hit points
Look! You found 1 Daffy Taffy (30μ)!
Round 13: glaykith executes a macro!
Round 13: glaykith casts CANDYBLAST!
You acquire an item: Mr. Mediocrebar
You gain 159 hit points
You gain 159 Mojo Points
You lose 70 hit points
Round 14: glaykith casts CANDYBLAST!
You gain 159 hit points
You gain 159 Mojo Points
Round 15: glaykith casts CANDYBLAST!
Round 16: glaykith casts CANDYBLAST!
Round 17: glaykith casts CANDYBLAST!
Round 18: glaykith casts CANDYBLAST!
You acquire an item: Daffy Taffy
You lose 69 hit points
Round 19: glaykith casts CANDYBLAST!
Round 20: glaykith casts CANDYBLAST!
You acquire an item: Daffy Taffy
You gain 157 hit points
You gain 157 Mojo Points
Round 21: glaykith casts CANDYBLAST!
You gain 157 hit points
You gain 157 Mojo Points
Round 22: glaykith casts CANDYBLAST!
You acquire an item: Daffy Taffy
Round 23: glaykith casts CANDYBLAST!
Round 24: glaykith casts CANDYBLAST!
You acquire an item: Wint-O-Fresh mint
Round 25: glaykith casts CANDYBLAST!
You acquire an item: Cold Hots candy
Round 26: glaykith casts CANDYBLAST!
You acquire an item: Wint-O-Fresh mint
You gain 159 hit points
You gain 159 Mojo Points
Round 27: glaykith casts CANDYBLAST!
You acquire an item: Daffy Taffy
Round 28: glaykith casts CANDYBLAST!
You gain 157 hit points
You gain 157 Mojo Points
Look! You found 1 Cold Hots candy (50μ)!
Look! You found 4 Daffy Taffy (120μ)!
Look! You found 1 Mr. Mediocrebar (50μ)!
Look! You found 2 Wint-O-Fresh mint (100μ)!
WHAM: SmartStasis complete.
WHAM: SS did not finish the fight, continuing with script execution.
WHAM: Starting evaluation and performing of attack
WHAM: Unable to delevel until you can kill the monster without it killing you. Try it yourself.
WHAM: Unable to determine a valid combat strategy. For your benefit here are the numbers for you combat skills.
WHAM: Lunging Thrust-Smack: 579.99 potential damage (raw damage: 1033.04) and a hitchance of 100.00%.
WHAM: Spectral Snapper: 579.99 potential damage (raw damage: 634.40) and a hitchance of 100.00%.
WHAM: Fearful Fettucini: 579.99 potential damage (raw damage: 1117.25) and a hitchance of 100.00%.
WHAM: Saucegeyser: 579.99 potential damage (raw damage: 1119.25) and a hitchance of 100.00%.
<... edited for length ...>
WHAM: You now have the knowledge needed to go forward and be victorious
Round 29: glaykith executes a macro!
KoLmafia thinks it is round 30 but KoL thinks it is round 29
WHAM: Unable to figure out a combat strategy. Helpful information regarding your skills have been printed to the CLI
You're on your own, partner.
 

Theraze

Active member
Well, that did make it stop slightly earlier, but... looks like it might still not be setting enough rounds aside for the full kill planning, just the immediate actions.
 

Crowther

Active member
FYI 4.1.1 fixes the infinite loop.
I'm still seeing some infinite loops. Lots fewer, but I've been too busy to report them. Today's looked like it was trying to do more than three cast CONSUME BURROWGRUB in a row. Sorry for the crappy bug report.
 

Winterbay

Active member
That's interesting. I got my multi a burrowgrub thingie just to have it try to get the loops but it couldn't. It used the skill three times and then moved on. I would like to see some level 8 or 9 output of that if at all possible.
 

livercat

Member
Both 4.1.1 and version from post #553 cause an infinite loop. Relay browser shows a line "You don't have or can't use skill #7022, macro aborted."
Here's a gCLI log from version from #553 (you might notice several "Mafia declares world peace" messages, first couple of ones didn't stop WHAM):
Code:
[4145] The Heap
Encounter: Midden Bill, the Filthy
Round 0: livercat wins initiative!
Running ZLib version: r37 (current)
1 HP costs 0,015μ. ( 666, / 666 )
1 MP costs 1,749μ. ( 52, / 414 )
Running BatBrain version: 1.28 (current)
Running SmartStasis version: 3.15 (current)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Parsed round number: 1
Building options...
Options built! (41 actions)
Building custom actions...
Custom actions built! (0 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Attack action chosen: use 3388 (round 1, profit: -0,01)
Stun action chosen: use 5560 (round 1, profit: 0)
Stasis action chosen: use 2678 (round 1, profit: 0)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
Attack action chosen: use 3388 (round 1, profit: -0,01)
This monster is not your huckleberry.
Running BatMan RE version: 1.4 (current)
Running ZLib version: r37 (current)
1 HP costs 0,015μ. ( 666, / 666 )
1 MP costs 1,749μ. ( 52, / 414 )
Factoring in Scarysauce: (6,) damage, retal
Running BatBrain version: 1.28 (current)
Running SmartStasis version: 3.15 (current)
Running WHAM version: 4.1.1 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 4144.
WHAM: Checking to see if WHAM sould adjust the unknown_ml for Stench Hobo.
WHAM: No need to do anything with Stench Hobo.
WHAM: Setting up variables via BatBrain
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
ATT: 356, (6,% × 13,02, death in 853)
DEF: 329, (97,73% × 160,53, win in 4)
HP: 517,, Value: 305,47 μ
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: Current MP = 52 out of 414.
WHAM: You have no profitable MP restoratives.
WHAM: Current HP = 666 out of 666.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Stench Hobo. Mafia considers that this monster has an attack of 356 or 360 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 329 or 325 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 512 or 510 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 517.0.
WHAM: WHAM added the following to BatRound: if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
Building custom actions...
WHAM: This monster does not drop a goal item
Custom actions built! (0 actions)
Stasis option chosen: use 2678 (round 1, profit: 0)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
This monster is not your huckleberry.
Stasis loop complete.
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 0,89 seconds.
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
Stun option chosen: skill 7022 (round 1, profit: 0)
Queued: skill 7022
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 2, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 3, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 4, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 5, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack but not performing it took 2,19 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: skill 7022
Building options...
Options built! (42 actions)
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 5-shot with Ask Richard for a Grenade, attack with your weapon, attack with your weapon, attack with your weapon and attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; skill 7022; call batround; attack; call batround; attack; call batround; attack; call batround; attack; call batround; 
Round 1: livercat executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack and performing it took 5,45 seconds.
WHAM: Current monster HP is calculated to 517.0
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
Stun option chosen: skill 7022 (round 1, profit: 0)
Queued: skill 7022
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 2, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 3, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 4, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 5, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack but not performing it took 2,00 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: skill 7022
Building options...
Options built! (42 actions)
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 5-shot with Ask Richard for a Grenade, attack with your weapon, attack with your weapon, attack with your weapon and attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; skill 7022; call batround; attack; call batround; attack; call batround; attack; call batround; attack; call batround; 
Round 2: livercat executes a macro!
KoLmafia thinks it is round 3 but KoL thinks it is round 1
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack and performing it took 10,03 seconds.
WHAM: Current monster HP is calculated to 517.0
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
Stun option chosen: skill 7022 (round 1, profit: 0)
Queued: skill 7022
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 2, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 3, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 4, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 5, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack but not performing it took 2,15 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: skill 7022
Building options...
Options built! (42 actions)
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 5-shot with Ask Richard for a Grenade, attack with your weapon, attack with your weapon, attack with your weapon and attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; skill 7022; call batround; attack; call batround; attack; call batround; attack; call batround; attack; call batround; 
Round 3: livercat executes a macro!
KoLmafia thinks it is round 4 but KoL thinks it is round 1
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack and performing it took 14,59 seconds.
WHAM: Current monster HP is calculated to 517.0
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
Stun option chosen: skill 7022 (round 1, profit: 0)
Queued: skill 7022
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 2, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 3, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 4, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 5, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack but not performing it took 2,00 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: skill 7022
Building options...
Options built! (42 actions)
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 5-shot with Ask Richard for a Grenade, attack with your weapon, attack with your weapon, attack with your weapon and attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; skill 7022; call batround; attack; call batround; attack; call batround; attack; call batround; attack; call batround; 
Round 4: livercat executes a macro!
KoLmafia thinks it is round 5 but KoL thinks it is round 1
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack and performing it took 18,82 seconds.
WHAM: Current monster HP is calculated to 517.0
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
Stun option chosen: skill 7022 (round 1, profit: 0)
Queued: skill 7022
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 2, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 3, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 4, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 5, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack but not performing it took 1,99 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: skill 7022
Building options...
Options built! (42 actions)
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 5-shot with Ask Richard for a Grenade, attack with your weapon, attack with your weapon, attack with your weapon and attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; skill 7022; call batround; attack; call batround; attack; call batround; attack; call batround; attack; call batround; 
Round 5: livercat executes a macro!
KoLmafia thinks it is round 6 but KoL thinks it is round 1
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack and performing it took 23,30 seconds.
WHAM: Current monster HP is calculated to 517.0
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
Stun option chosen: skill 7022 (round 1, profit: 0)
Queued: skill 7022
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 2, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 3, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 4, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 5, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack but not performing it took 1,98 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: skill 7022
Building options...
Options built! (42 actions)
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
KoLmafia declares world peace.
You're on your own, partner.
Running ZLib version: r37 (current)
1 HP costs 0,015μ. ( 666, / 666 )
1 MP costs 1,749μ. ( 52, / 414 )
Factoring in Scarysauce: (6,) damage, retal
Running BatBrain version: 1.28 (current)
Running SmartStasis version: 3.15 (current)
Running WHAM version: 4.1.1 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 4144.
WHAM: Checking to see if WHAM sould adjust the unknown_ml for Stench Hobo.
WHAM: No need to do anything with Stench Hobo.
WHAM: Setting up variables via BatBrain
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
ATT: 356, (6,% × 13,02, death in 853)
DEF: 329, (97,73% × 160,53, win in 4)
HP: 517,, Value: 305,47 μ
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: Current MP = 52 out of 414.
WHAM: You have no profitable MP restoratives.
WHAM: Current HP = 666 out of 666.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Stench Hobo. Mafia considers that this monster has an attack of 356 or 360 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 329 or 325 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 512 or 510 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 517.0.
WHAM: WHAM added the following to BatRound: if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
Building custom actions...
WHAM: This monster does not drop a goal item
Custom actions built! (0 actions)
Stasis option chosen: use 2678 (round 1, profit: 0)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
This monster is not your huckleberry.
Stasis loop complete.
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 1,00 seconds.
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
Stun option chosen: skill 7022 (round 1, profit: 0)
Queued: skill 7022
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 2, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 3, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 4, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 5, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack but not performing it took 2,78 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: skill 7022
Building options...
Options built! (42 actions)
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We can't Saucesplash.
true, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack).
Queued: attack
Building options...
Options built! (42 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 5-shot with Ask Richard for a Grenade, attack with your weapon, attack with your weapon, attack with your weapon and attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; skill 7022; call batround; attack; call batround; attack; call batround; attack; call batround; attack; call batround; 
Round 6: livercat executes a macro!
KoLmafia thinks it is round 7 but KoL thinks it is round 1
Parsed round number: 1
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack and performing it took 6,18 seconds.
WHAM: Current monster HP is calculated to 517.0
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 4144.
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 1, profit: -0,02)
Stun option chosen: skill 7022 (round 1, profit: 0)
Queued: skill 7022
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 2, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 3, profit: -0,01)
Queued: attack
Building options...
Options built! (42 actions)
hobo nickel (15.0 @ +222.87482193696061): 50,μ * 48,43% = 24,22
Value of stat gain: 281,25μ
WHAM: Attack option chosen: attack (round 4, profit: -0,01)
Queued: attack
Building options...
KoLmafia declares world peace.
You're on your own, partner.
 
Last edited:

Winterbay

Active member
Ahh yes... The "ask Richard for a NN" skills. There is a KoL-bug that makes it so that you cannot call those skills by skill number in a fight-macro. BatBrain relies fully on using skill numbers for its fight macros so this leads to the loop above. Zarqon has stated that he does not want to code around it, meaning that WHAM has a hard time to do anything useful with them as well. I guess I could just add them to be not ok for now since they don't work anyway.

Edit: I've updated the main script to 4.1.2 with the modification that it also forbids usage of the Richard skill until that problem has been resolved.
I also removed the BatBrain in the first post since Zarqon's version is up to date and working now. The only thing remaining is two of the bear arm skills, so if you still want that I can give you a modified copy or you can patch it in yourself from your old copy.
 
Last edited:

Donavin69

Member
Since you removed your version of Batbrain, I went back to Zarqon's version, and now it tries to Bear Hug a 2nd time in combat and fails:
PHP:
[679] Haunted Gallery
Encounter: guy with a pitchfork, and his wife
Strategy: C:\kolmafia\ccs\BCA.ccs [default]
Round 0: smeagol69 wins initiative!
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
Round 1: smeagol69 executes a macro!
Round 1: smeagol69 casts BEAR HUG!
Round 2: guy with a pitchfork, and his wife takes 20 damage.
You gain 23 hit points
Round 2: guy with a pitchfork, and his wife drops 8 attack power.
Round 2: guy with a pitchfork, and his wife drops 10 defense.
WHAM: Starting evaluation and performing of attack
Round 2: smeagol69 executes a macro!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
WHAM: Failed to enqueue Bear Hug. Aborting to let you figure this out.
You're on your own, partner.

I'll turn up verbosity and capture it with higher verbosity if you want me to post that later.
 

Winterbay

Active member
Huh, interesting. I don't have the arms so was not aware of that. I may upload a version after all then.

Edit: That's the bear skill that zombifies right?

Edit, edit: In the meantime you can change line 959 in BatBrain to " fields.special += "!! zombify"; break;" instead of "=", so that it keeps the "bear" modifier and doesn't override it with "zombify".
 
Last edited:
Top