Winterbay's Helpful Automatic Monsterbasher (WHAM)

Terragon

New member
I've been having a few issues with WHAM doing nothing and ending up in a loop of

WHAM thinks its round 45 by KoL says its round 2.. etc.. (I let it hit 92 rounds a little while ago).

I think it's something to do with the bear skills, if I escape out - continue in the browser and hit the "script" button it can finish the combat without further issue.

I've upped my verbosity to try to see what the issue is - as you can see from this log, it seems that it is choosing a bear attack as a stasis option after already doing a bear attack. Could be fixed by adding the "bear attack happened" check to the stasis_option function?


Code:
[482] Dungeons of Doom
Encounter: swarm of killer bees
Strategy: /home/cameigh/.kolmafia/ccs/DEFAULT.ccs [default]
Round 0: terragon wins initiative!
Running ZLib version: r37 (current)
1 HP costs 0.533μ. ( 155 / 167 )
1 MP costs 8μ. ( 47 / 336 )
Running BatBrain version: 1.26 (current)
Running SmartStasis version: 3.15 (current)
Running WHAM version: 3.8 (current)
WHAM: Checking to see if WHAM sould adjust the unknown_ml for Swarm of Killer Bees.
WHAM: No need to do anything with Swarm of Killer Bees.
WHAM: Setting up variables via BatBrain
baby killer bee (5.0 @ +10.0): 200μ * 5.5% = 11
royal jelly (25.0 @ +10.0): 77μ * 27.5% = 21.18
baby killer bee (5.0 @ +10.0): 200μ * 5.5% = 11
royal jelly (25.0 @ +10.0): 77μ * 27.5% = 21.18
ATT: 70 (88.36% × 13.38, death in 14)
DEF: 61 (95.45% × 64.34, win in 2)
HP: 87.25, Value: 86.08 μ
Parsed round number: 1
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: Monster HP is 87.25.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; Ninja Pirate Zombie Robot (20.64μ)21.07μ3.47 (-5.96 μ/dmg)Att: -0.99 (-0.81 DPR) Def: -0.99 6% stun chance HP: -0.97
Stasis action chosen: skill 12000 (round 1, profit: 19.26)
baby killer bee (5.0 @ +10.0): 200μ * 5.5% = 11
royal jelly (25.0 @ +10.0): 77μ * 27.5% = 21.18
WHAM: Attack option chosen: skill 7131 (round 1, profit: 21.07)
Queued: skill 12000
Constructed macro: scrollwhendone; sub batround; if haseffect 283 && hasskill 7107; skill 7107; endif; if haseffect 283 && hascombatitem 829; use 829; endif; if haseffect 283; abort "BatBrain abort: poisoned."; endif; if pastround 49; 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; sub finito; skill 12000; call batround; endsub; call finito; repeat hasskill 12000 && (!hpbelow 155.0 && hpbelow 167 && !mpbelow 42.0 && !pastround 1)
Round 1: terragon executes a macro!
Round 1: terragon casts INFECTIOUS BITE!
Round 2: swarm of killer bees takes 8 damage.
You lose 12 hit points
Happened: skill 12000
Parsed round number: 2
Stasis action chosen: skill 7132 (round 2, profit: 16.06)
baby killer bee (5.0 @ +10.0): 200μ * 5.5% = 11
royal jelly (25.0 @ +10.0): 77μ * 27.5% = 21.18
WHAM: Attack option chosen: skill 7131 (round 2, profit: 21.59)
Queued: skill 7132
Constructed macro: scrollwhendone; sub batround; if haseffect 283 && hasskill 7107; skill 7107; endif; if haseffect 283 && hascombatitem 829; use 829; endif; if haseffect 283; abort "BatBrain abort: poisoned."; endif; if pastround 49; 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; sub finito; skill 7132; call batround; endsub; call finito; repeat hasskill 7132 && (!hpbelow 143.0 && hpbelow 167 && !mpbelow 42.0 && !pastround 20)
Round 2: terragon executes a macro!
Round 2: terragon casts GRIZZLY SCENE!
Round 3: swarm of killer bees takes 37 damage.
Round 3: You hear a faint howling of wind, and Gobert suddenly appears out of the shadows, holding your opponent's meat pouch.
You gain 102 Meat.
Round 3: swarm of killer bees takes 8 damage.
You lose 10 hit points
You acquire an effect: Somewhat Poisoned (duration: 10 Adventures)
Happened: skill 7132
Parsed round number: 3
BatBrain abort detected: poisoned
You're dangerously poisoned! Will try to remove if possible.
Stasis action chosen: skill 7131 (round 3, profit: 21.07)
baby killer bee (5.0 @ +10.0): 200μ * 5.5% = 11
royal jelly (25.0 @ +10.0): 77μ * 27.5% = 21.18
baby killer bee (5.0 @ +10.0): 200μ * 5.5% = 11
royal jelly (25.0 @ +10.0): 77μ * 27.5% = 21.18
baby killer bee (5.0 @ +10.0): 200μ * 5.5% = 11
royal jelly (25.0 @ +10.0): 77μ * 27.5% = 21.18
WHAM: Attack option chosen: attack (round 3, profit: 21.07)
Queued: skill 7131
Constructed macro: scrollwhendone; sub batround; if haseffect 283 && hasskill 7107; skill 7107; endif; if haseffect 283 && hascombatitem 829; use 829; endif; if haseffect 283; abort "BatBrain abort: poisoned."; endif; if pastround 49; 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; sub finito; skill 7131; call batround; endsub; call finito; repeat hasskill 7131 && (!hpbelow 111.0 && !mpbelow 42.0 && !pastround 24)
Round 3: terragon executes a macro!
KoLmafia thinks it is round 4 but KoL thinks it is round 3
Parsed round number: 3
You're dangerously poisoned! Will try to remove if possible.
Stasis action chosen: skill 7131 (round 3, profit: 21.07)
 

Winterbay

Active member
Since I don't have the bear arms I can't test this, but could you try replacing your stasis_option-function with this instead and see if that helps?

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 - 5)));
    foreach i,opt in myoptions {  // skip multistuns and non-multi-usable items
        matcher optid = create_matcher("(skill |use |jiggle)(?:(\\d+),?(\\d+)?)?",opt.id);
        if (opt.stun > 1 || (contains_text(opt.id,"use ") && !to_item(excise(opt.id,"use ","")).reusable))
            continue;
        if(optid.find() && contains_text(factors[(optid.group(1) == "use " ? "item" : (optid.group(1) == "skill " ? "skill" : "chef")), (optid.group(1) != "jiggle" ? to_int(optid.group(2)) : to_int(equipped_item($slot[weapon])))].special, "once") && happened(opt.id))
            continue;    //Don't stasis with things that is marked as once only
        if(contains_text(opt.id, "skill ") && contains_text(factors["skill",to_int(optid.group(2))].special, "bear"))
                if(happened("skill 7131") || happened("skill 7132") || happened("skill 7133") || happened("skill 7134") || happened("skill 7135") || happened("skill 7136"))
                    continue; //Don't try multiple bear skills in one combat
        vprint("Stasis option chosen: "+opt.id+" (round "+rnum(round)+", profit: "+rnum(opt.profit)+")",8);
        plink = opt;
        return opt;
    }
    plink = new advevent;
    return new advevent;
}
 
Last edited:

Terragon

New member
Since I don't have the bear arms I can't test this, but could you try replacing your stasis_option-function with this instead and see if that helps?


That seems to have done the trick - I certainly didn't get the same behaviour on the next swarm of killer bees.
 

Rinn

Developer
I was just adventuring in the Jungles of Ancient Loathing, and WHAM was stuck in a loop trying to cast Mighty Shout. Also seems to be not stasising correctly for the essences in the future quest.
 
Last edited:

Theraze

Active member
On my part today, it wasn't stasising for gremlin tools, it was just killing them, but SmartStasis has been doing the same thing for a while as well. I'm looking at >40 adventures for a single tool sometimes if I let WHAM/SS take care of things, or ~10-20 for the whole area usually if I do it manually.

On the "always use Smash & Gra if it isn't a guaranteed drop" category, I'd also propose the Hedge Maze. I want the keys, the only reason I'm fighting the monsters is for the keys, and if anything, I'd just as soon lose the fight and not take the extra stats which might move me into level 14 and steal my shiny karma. Not that I'd rather throw the fight... but any Hedge fight with a key drop is a success, and any Hedge fight without is a failure and a wasted adventure.
 

Winterbay

Active member
I was just adventuring in the Jungles of Ancient Loathing, and WHAM was stuck in a loop trying to cast Mighty Shout. Also seems to be not stasising correctly for the essences in the future quest.

Was the Mighty Shout loop in the stasis section or after that? Also, in which way is it not stasising correctly? And what is your WHAM_maxround setting set to?

On my part today, it wasn't stasising for gremlin tools, it was just killing them, but SmartStasis has been doing the same thing for a while as well. I'm looking at >40 adventures for a single tool sometimes if I let WHAM/SS take care of things, or ~10-20 for the whole area usually if I do it manually.

On the "always use Smash & Gra if it isn't a guaranteed drop" category, I'd also propose the Hedge Maze. I want the keys, the only reason I'm fighting the monsters is for the keys, and if anything, I'd just as soon lose the fight and not take the extra stats which might move me into level 14 and steal my shiny karma. Not that I'd rather throw the fight... but any Hedge fight with a key drop is a success, and any Hedge fight without is a failure and a wasted adventure.

I guess I've never noticed that since BCA seems to be handling the Gremlins just fine. I wonder why that is. Could you try a fight at verbosity 9 perhaps so we can see the inner workings and see what it is that's failing at least :)
 
Last edited:

Rinn

Developer
I think the mighty shout thing was in smart stasis, it just trying to cast it over and over which kol doesn't allow. As for the stasising, either the stasis action was doing too much damage (candyblast) or it just wasn't stasising at all.
 

Rinn

Developer
Also it seems like automatic olfaction isn't working now either

Code:
[COLOR=olive]> set autoOlfact=monster Gnollish Piebaker[/COLOR]

autoOlfact     => monster Gnollish Piebaker
[COLOR=blue]Libram summon #32     when MP > 680.[/COLOR]

[1066] Degrassi Knoll
Encounter:     Gnollish War Chef
Round 0: [COLOR=#2cae33]Epicgamer[/COLOR] wins     initiative!
[COLOR=purple]WHAM: Monster HP is 9.45.[/COLOR]
[COLOR=purple]WHAM:     Running SmartStasis[/COLOR]
Round 1: [COLOR=#2cae33]Epicgamer[/COLOR]     executes a macro!
Round 1: [COLOR=#2cae33]Epicgamer[/COLOR] uses     the Rain-Doh indigo cup!
You gain 44 hit points
Round 2: Converse     explains the backlash against the backlash against an indie comic book.     See, it got too popular, so now everyone criticizes it, so now the cool     thing to do is to like it again. Trying to follow the logic opens new     neural pathways in your brain.
You gain 2 Magicalness
Round 2: [COLOR=#2cae33]Epicgamer[/COLOR]     uses the Rain-Doh indigo cup!
Round 3: [COLOR=#2cae33]Epicgamer[/COLOR]     executes a macro!
Round 3: [COLOR=#2cae33]Epicgamer[/COLOR] casts     SUCKERPUNCH!
KoLmafia thinks it is round 4 but KoL thinks it is round 3
Round     4: gnollish war chef takes 1 damage.
Round 4: gnollish war chef drops 1     attack power.
Round 4: gnollish war chef drops 1 defense.
Round 4:     Converse removes his ironic knit cap and shakes some greasy sweat at him     for 255 damage.
Round 4: gnollish war chef takes 255 damage.
Round     4: [COLOR=#2cae33]Epicgamer[/COLOR] wins the fight!
You gain 53     Meat
You acquire an item: Knoll mushroom
You acquire an item: Knoll     mushroom
You acquire an item: skewer
You acquire an item: Gnollish     slotted spoon
You gain 2 Magicalness
You gain 1 Roguishness
[COLOR=blue]Libram     summon #32 when MP > 680.[/COLOR]
Casting The Polka of Plenty 1     times...
You acquire an effect: Polka of Plenty (duration: 15     Adventures)
The Polka of Plenty was successfully cast.

[1067]     Degrassi Knoll
Encounter: Gnollish Piebaker
Round 0: [COLOR=#2cae33]Epicgamer[/COLOR]     wins initiative!

[COLOR=olive]> zlib verbosity = 10[/COLOR]

Previous     value of verbosity: 4
Changed to 10.
[COLOR=gray]Running ZLib     version: r37 (current)[/COLOR]
[COLOR=#880000]1 HP costs 0.654μ.     ( 222 / 222 )[/COLOR]
[COLOR=#000088]1 MP costs 2.615μ. ( 402 /     462 )[/COLOR]
[COLOR=gray]Running BatBrain version: 1.26 (current)[/COLOR]
[COLOR=gray]Running     SmartStasis version: 3.15 (current)[/COLOR]
[COLOR=gray]Running     WHAM version: 3.8 (current)[/COLOR]
[COLOR=purple]WHAM: We     currently think that the round number is: 0 and that the turn number is     1066.[/COLOR]
[COLOR=purple]WHAM: Checking to see if WHAM sould     adjust the unknown_ml for Gnollish Piebaker.[/COLOR]
[COLOR=purple]WHAM:     No need to do anything with Gnollish Piebaker.[/COLOR]
[COLOR=purple]WHAM:     Setting up variables via BatBrain[/COLOR]
[COLOR=black]Gnollish     pie server (25.0 @ +221.0): 25μ * 80.25% = 20.06[/COLOR]
[COLOR=black]Gnollish     pie tin (50.0 @ +221.0): 15μ * 100% = 15[/COLOR]
[COLOR=black]wad     of dough (50.0 @ +221.0): 25μ * 100% = 25[/COLOR]
[COLOR=black]skewer     (50.0 @ +221.0): 40μ * 100% = 40[/COLOR]
Value of stat gain: 25.39μ
[COLOR=black]Evaluating     '0.25*min(9*26.0+8,6.0)'...[/COLOR]
[COLOR=black]Evaluating     '0.25*min(9*26.0+8,6.0)'...[/COLOR]
[COLOR=black]Evaluating     '0.25*min(9*26.0+8,6.0)'...[/COLOR]
[COLOR=black]Evaluating     '0.25*min(9*26.0+8,6.0)'...[/COLOR]
[COLOR=black]Gnollish pie     server (25.0 @ +221.0): 25μ * 80.25% = 20.06[/COLOR]
[COLOR=black]Gnollish     pie tin (50.0 @ +221.0): 15μ * 100% = 15[/COLOR]
[COLOR=black]wad     of dough (50.0 @ +221.0): 25μ * 100% = 25[/COLOR]
[COLOR=black]skewer     (50.0 @ +221.0): 40μ * 100% = 40[/COLOR]
Value of stat gain: 25.39μ
ATT:     [B]13[/B] (6% × 1, death in 3700)
DEF: [B]11[/B] (97.73% × 197.29,     win in 1)
HP: [B]6.3[/B], Value: [COLOR=green][B]190.13 μ[/B][/COLOR]
[COLOR=black]Parsed     round number: 1[/COLOR]
[COLOR=black]Building options...[/COLOR]
[COLOR=black]Evaluating     'ceil(L/3.0)*4.5*5'...[/COLOR]
[COLOR=black]Evaluating     'min(26.0+3,10)+floor(sqrt(max(26.0-7,0)))'...[/COLOR]
[COLOR=black]Evaluating     '325.5*zone(sea)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(5.5+min(0.07*210.0,15)+min(0.0,25)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(12+min(0.15*210.0,20)+min(0.0,40)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(28+min(0.25*210.0,30)+min(0.0,60)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(2.5+min(0.0,5)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(12+min(0.15*210.0,20)+min(0.0,40))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(28+min(0.25*210.0,30)+min(0.0,60)+0.0)*1.5'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(3.5+min(0.1*210.0,10)+min(10.0+0.0,10))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(22+min(0.3*210.0,30)+min(10.0+0.0,25))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(2.5+min(10.0+0.0,5))'...[/COLOR]
[COLOR=black]Evaluating     '(1+0.5*min(1,effect(sugar     rush)))*1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '0.25*min(9*26.0+8,6.3)'...[/COLOR]
[COLOR=black]Options built!     (81 actions)[/COLOR]
[COLOR=purple]WHAM: We currently think that     the round number is: 1 and that the turn number is 1066.[/COLOR]
[COLOR=purple]WHAM:     Current MP = 402 out of 462.[/COLOR]
[COLOR=purple]WHAM: You have     no profitable MP restoratives.[/COLOR]
[COLOR=purple]WHAM:     Current HP = 222 out of 222.[/COLOR]
[COLOR=purple]WHAM: You have     no profitable HP restoratives.[/COLOR]
[COLOR=purple]WHAM: You     are fighting a Gnollish Piebaker. Mafia considers that this monster has an     attack of 13 or 13 when given a monster name.[/COLOR]
[COLOR=purple]WHAM:     Mafia further considers that this monster has a defense value of 11 or 12     when given a monster name.[/COLOR]
[COLOR=purple]WHAM: Mafia     further further considers that this monster has a HP value of 6 or 6 when     given a monster name.[/COLOR]
[COLOR=purple]WHAM: Your current     ML-adjustment is: 0.[/COLOR]
[COLOR=purple]WHAM: Monster HP is     6.3.[/COLOR]
[COLOR=black]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; [/COLOR]
[COLOR=purple]WHAM: We currently     think that the round number is: 1 and that the turn number is 1066.[/COLOR]
[COLOR=purple]WHAM:     SS did not finish the fight, continuing with script execution. [/COLOR]
[COLOR=purple]WHAM:     Starting evaluation and performing of attack[/COLOR]
[COLOR=purple]WHAM:     We currently think that the round number is: 1 and that the turn number is     1066.[/COLOR]
[COLOR=red]WHAM: This monster does not drop a goal     item[/COLOR]
[COLOR=black]Gnollish pie server (25.0 @ +221.0):     25μ * 80.25% = 20.06[/COLOR]
[COLOR=black]Gnollish pie tin     (50.0 @ +221.0): 15μ * 100% = 15[/COLOR]
[COLOR=black]wad of     dough (50.0 @ +221.0): 25μ * 100% = 25[/COLOR]
[COLOR=black]skewer     (50.0 @ +221.0): 40μ * 100% = 40[/COLOR]
Value of stat gain: 25.39μ
[COLOR=purple]WHAM:     Attack option chosen: skill 3022 (round 1, profit: 59.41)[/COLOR]
[COLOR=purple]WHAM:     No need to stun this monster[/COLOR]
[COLOR=black]Queued: skill     3022[/COLOR]
[COLOR=black]Building options...[/COLOR]
[COLOR=black]Evaluating     'ceil(L/3.0)*4.5*5'...[/COLOR]
[COLOR=black]Evaluating     'min(26.0+3,10)+floor(sqrt(max(26.0-7,0)))'...[/COLOR]
[COLOR=black]Evaluating     '325.5*zone(sea)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(5.5+min(0.07*210.0,15)+min(0.0,25)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(12+min(0.15*210.0,20)+min(0.0,40)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(28+min(0.25*210.0,30)+min(0.0,60)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(2.5+min(0.0,5)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(12+min(0.15*210.0,20)+min(0.0,40))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(28+min(0.25*210.0,30)+min(0.0,60)+0.0)*1.5'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(3.5+min(0.1*210.0,10)+min(10.0+0.0,10))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(22+min(0.3*210.0,30)+min(10.0+0.0,25))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(2.5+min(10.0+0.0,5))'...[/COLOR]
[COLOR=black]Evaluating     '(1+0.5*min(1,effect(sugar     rush)))*1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '0.25*min(9*26.0+8,0.0)'...[/COLOR]
[COLOR=black]Options built!     (81 actions)[/COLOR]
[COLOR=black]Parsed round number: 1[/COLOR]
[COLOR=black]Building     options...[/COLOR]
[COLOR=black]Evaluating 'ceil(L/3.0)*4.5*5'...[/COLOR]
[COLOR=black]Evaluating     'min(26.0+3,10)+floor(sqrt(max(26.0-7,0)))'...[/COLOR]
[COLOR=black]Evaluating     '325.5*zone(sea)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(5.5+min(0.07*210.0,15)+min(0.0,25)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(12+min(0.15*210.0,20)+min(0.0,40)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(28+min(0.25*210.0,30)+min(0.0,60)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(2.5+min(0.0,5)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(12+min(0.15*210.0,20)+min(0.0,40))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(28+min(0.25*210.0,30)+min(0.0,60)+0.0)*1.5'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(3.5+min(0.1*210.0,10)+min(10.0+0.0,10))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(22+min(0.3*210.0,30)+min(10.0+0.0,25))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(2.5+min(10.0+0.0,5))'...[/COLOR]
[COLOR=black]Evaluating     '(1+0.5*min(1,effect(sugar     rush)))*1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '0.25*min(9*26.0+8,6.3)'...[/COLOR]
[COLOR=black]Options built!     (81 actions)[/COLOR]
[COLOR=purple]WHAM: Evaluating the attack     but not performing it took 1.04 seconds.[/COLOR]
[COLOR=purple]WHAM:     Debug printing the damage dealt by your options.[/COLOR]

[COLOR=blue]WHAM: Candyblast: 6.30 potential damage (raw     damage: 32.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Attack with your weapon: 6.30 potential damage (raw damage: 192.80) and a     hitchance of 97.73%.[/COLOR]
[COLOR=blue]WHAM: Miniborg     Destroy-O-Bot: 6.30 potential damage (raw damage: 25.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Zombo's empty eye: 6.30     potential damage (raw damage: 175.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Rain-Doh blue balls: 6.30 potential damage (raw damage: 15.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Clobber: 6.30     potential damage (raw damage: 20.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Toss: 6.30 potential damage (raw damage: 14.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Salsaball: 6.30 potential damage (raw damage: 7.50) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Stream of Sauce: 6.30     potential damage (raw damage: 23.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Ravioli Shurikens: 6.30 potential damage (raw damage: 20.20) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Chronic     Indigestion: 6.30 potential damage (raw damage: 37.50) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Disco Dance of Doom: 6.30     potential damage (raw damage: 7.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Cannelloni Cannon: 6.30 potential damage (raw damage: 32.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Disco Dance II:     Electric Boogaloo: 6.30 potential damage (raw damage: 9.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Tango of Terror:     6.30 potential damage (raw damage: 16.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Saucestorm: 6.30 potential damage (raw damage: 51.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Surge of Icing: 6.30 potential     damage (raw damage: 51.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Käsesoßesturm: 6.30 potential damage (raw damage: 51.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Disco Face Stab: 6.30     potential damage (raw damage: 16.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Rain-Doh orange agent: 6.30 potential damage (raw damage: 50.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Stuffed Mortar     Shell: 6.30 potential damage (raw damage: 58.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Stringozzi Serpent: 6.30     potential damage (raw damage: 87.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Offensive Joke: 6.30 potential damage (raw damage: 35.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Wave of Sauce: 6.30     potential damage (raw damage: 62.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     d6: 6.30 potential damage (raw damage: 73.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     d12: 6.30 potential damage (raw damage: 84.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Spectral Snapper: 6.30 potential damage (raw damage: 53.20) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Weapon of the     Pastalord: 6.30 potential damage (raw damage: 121.50) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Fearful Fettucini: 6.30     potential damage (raw damage: 121.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Saucegeyser: 6.30 potential damage (raw damage: 123.50) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Conjure Relaxing Campfire:     6.30 potential damage (raw damage: 36.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Maximum Chill: 6.30 potential damage (raw damage: 36.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Mudbath: 6.30 potential     damage (raw damage: 36.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Inappropriate Backrub: 6.30 potential damage (raw damage: 36.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Creepy Lullaby:     6.30 potential damage (raw damage: 36.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Wassail: 6.30 potential damage (raw damage: 36.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Harpoon!: 6.30 potential     damage (raw damage: 83.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     d8: 6.30 potential damage (raw damage: 112.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Awesome Balls of Fire: 6.30 potential damage (raw damage: 113.50) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Snowclone: 6.30     potential damage (raw damage: 113.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Eggsplosion: 6.30 potential damage (raw damage: 113.50) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Grease Lightning: 6.30     potential damage (raw damage: 113.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Raise Backup Dancer: 6.30 potential damage (raw damage: 113.50) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Toynado: 6.30     potential damage (raw damage: 113.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     d20: 6.30 potential damage (raw damage: 136.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     crusty hula hoop: 6.30 potential damage (raw damage: 3967.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: red wagon: 6.30     potential damage (raw damage: 3776.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     rickety old unicycle: 6.30 potential damage (raw damage: 7478.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: broken BRICKO     brick: 6.30 potential damage (raw damage: 75.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: BRICKO reactor: 6.30 potential     damage (raw damage: 50000.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     spectre scepter: 4.25 potential damage (raw damage: 4.25) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: cinnamon troll doll: 4.00     potential damage (raw damage: 4.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     grape troll doll: 4.00 potential damage (raw damage: 4.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: blue raspberry troll doll:     4.00 potential damage (raw damage: 4.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     green BRICKO brick: 4.00 potential damage (raw damage: 4.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: pool of liquid     metal: 3.75 potential damage (raw damage: 3.75) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Spaghetti Spear: 2.50 potential damage (raw damage: 2.50) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Sing: 2.50 potential damage     (raw damage: 2.50) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Disco Eye-Poke: 2.00 potential damage (raw damage: 2.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Suckerpunch: 1.00 potential     damage (raw damage: 1.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Rain-Doh indigo cup: 0.00 potential damage (raw damage: 0.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Entangling     Noodles: 0.00 potential damage (raw damage: 0.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Saucy Salve: 0.00 potential     damage (raw damage: 0.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     memory of a CA base pair: 0.00 potential damage (raw damage: 0.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: memory of a CG     base pair: 0.00 potential damage (raw damage: 0.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: memory of a CT base pair: 0.00     potential damage (raw damage: 0.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     memory of an AG base pair: 0.00 potential damage (raw damage: 0.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: memory of an AT     base pair: 0.00 potential damage (raw damage: 0.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: memory of a GT base pair: 0.00     potential damage (raw damage: 0.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     Lasagna Bandages: 0.00 potential damage (raw damage: 0.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Tattle: 0.00 potential     damage (raw damage: 0.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     CSA obedience grenade: 0.00 potential damage (raw damage: 0.00) and a     hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM: Stealth     Mistletoe: 0.00 potential damage (raw damage: 0.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: Summon Leviatuga: 0.00     potential damage (raw damage: 0.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     gob of wet hair: 0.00 potential damage (raw damage: 0.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: bottle of Monsieur Bubble:     0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     wumpus-hair net: 0.00 potential damage (raw damage: 0.00) and a hitchance     of 100.00%.[/COLOR]
[COLOR=blue]WHAM: banana peel: 0.00 potential     damage (raw damage: 0.00) and a hitchance of 100.00%.[/COLOR]
[COLOR=blue]WHAM:     lawn dart: 0.00 potential damage (raw damage: 0.00) and a hitchance of     100.00%.[/COLOR]
[COLOR=blue]WHAM: d4: 0.00 potential damage (raw     damage: 0.00) and a hitchance of 100.00%.[/COLOR]

[COLOR=purple]WHAM:     Evaluating the attack but not performing it took 1.49 seconds.[/COLOR]
Round     1: [COLOR=#2cae33]Epicgamer[/COLOR] executes a macro!
KoLmafia     thinks it is round 2 but KoL thinks it is round 1
[COLOR=red]WHAM:     Verbosity of 10 or more is set. Data files for denugging have been     generated. Aborting.[/COLOR]
[COLOR=red]WHAM: Verbosity of 10 or     more is set. Data files for denugging have been generated. Aborting.[/COLOR]
[COLOR=red]WHAM:     We can't Saucesplash.[/COLOR]
[COLOR=red]true, false, false,     true, true[/COLOR]
[COLOR=purple]WHAM: Enqueueing Candyblast     (macroid skill 3022).[/COLOR]
[COLOR=black]Queued: skill 3022[/COLOR]
[COLOR=black]Building     options...[/COLOR]
[COLOR=black]Evaluating 'ceil(L/3.0)*4.5*5'...[/COLOR]
[COLOR=black]Evaluating     'min(26.0+3,10)+floor(sqrt(max(26.0-7,0)))'...[/COLOR]
[COLOR=black]Evaluating     '325.5*zone(sea)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(5.5+min(0.07*210.0,15)+min(0.0,25)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(12+min(0.15*210.0,20)+min(0.0,40)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(28+min(0.25*210.0,30)+min(0.0,60)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(2.5+min(0.0,5)+0.0)'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(12+min(0.15*210.0,20)+min(0.0,40))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(28+min(0.25*210.0,30)+min(0.0,60)+0.0)*1.5'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(3.5+min(0.1*210.0,10)+min(10.0+0.0,10))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(22+min(0.3*210.0,30)+min(10.0+0.0,25))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(2.5+min(10.0+0.0,5))'...[/COLOR]
[COLOR=black]Evaluating     '(1+0.5*min(1,effect(sugar     rush)))*1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '1.0*(16+min(0.2*210.0,25)+min(10.0+0.0,15))'...[/COLOR]
[COLOR=black]Evaluating     '0.25*min(9*26.0+8,0.0)'...[/COLOR]
[COLOR=black]Options built!     (81 actions)[/COLOR]
[COLOR=purple]WHAM: Successfully enqueued     Candyblast.[/COLOR]
[COLOR=purple]WHAM: We are going to 1-shot     with Candyblast.[/COLOR]
[COLOR=black]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 3022; call     batround; [/COLOR]
Round 2: [COLOR=#2cae33]Epicgamer[/COLOR]     executes a macro!
Round 2: [COLOR=#2cae33]Epicgamer[/COLOR] casts     CANDYBLAST!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
Round     3: gnollish piebaker takes 34 damage.
Round 3: Converse explains the     backlash against the backlash against an indie comic book. See, it got too     popular, so now everyone criticizes it, so now the cool thing to do is to     like it again. Trying to follow the logic opens new neural pathways in     your brain.
You gain 3 Mysteriousness
Round 3: [COLOR=#2cae33]Epicgamer[/COLOR]     wins the fight!
You gain 53 Meat
You acquire an item: Gnollish pie     tin
You acquire an item: wad of dough
You acquire an item: skewer
You     acquire an item: Gnollish pie server
You gain 2 Strongness
You gain     1 Magicalness
You gain 1 Chutzpah
[COLOR=black]Happened:     skill 3022[/COLOR]
[COLOR=black]Parsed round number: 0[/COLOR]
[COLOR=black]Happened:     hipster_stats[/COLOR]
[COLOR=green]Look! You found 1 Gnollish pie     server (25μ)![/COLOR]
[COLOR=green]Look! You found 1     Gnollish pie tin (15μ)![/COLOR]
[COLOR=green]Look! You found     1 skewer (40μ)![/COLOR]
[COLOR=green]Look! You found 1 wad     of dough (25μ)![/COLOR]
[COLOR=purple]WHAM: Evaluating the     attack and performing it took 4.02 seconds.[/COLOR]
[COLOR=purple]WHAM:     We currently think that the round number is: 31 and that the turn number     is 1067.[/COLOR]
[COLOR=purple]WHAM: We currently think that the     round number is: 31 and that the turn number is 1067.[/COLOR]
[COLOR=gray]Running     ZLib version: r37 (current)[/COLOR]
[COLOR=gray]Running Character     Info Toolbox version: 0.7.3.4[/COLOR]
[COLOR=gray]Running ZLib     version: r37 (current)[/COLOR]
[COLOR=gray]Running Character Info     Toolbox version: 0.7.3.4[/COLOR]
 

Winterbay

Active member
Yeah, I may have misremembered how Olfaction worked in a BatBrain-powered script (i.e. it is never an option you can take yourself, you need to force it). I'll upload a fixed version tomorrow when I get to latest file, but change the olfaction part to the following and it should work again:
Code:
    // olfaction
    set_autoputtifaction();
    if (have_skill($skill[olfaction]) && have_effect($effect[form of bird]) == 0 && have_effect($effect[on the trail]) == 0 && should_olfact && !happened($skill[olfaction]))
        custom[count(custom)] = to_event("skill 19","mp -"+mp_cost($skill[olfaction]),1);

i.e. has_option($skill[olfaction]) to have_skill($skill[olfaction])


Edit: Scratch that. Here's a, hopefully, fixed version for all reported issues (apart from incorrect stasising for essences, I'll have to look into that when I get out of this last Zombie run).
 
Last edited:

fewyn

Administrator
Staff member
I noticed it wasn't insulting pirates today sadly I noticed too late and didn't have any extra turns to check out the actual cause but should be something to look into.
 
I guess I've never noticed that since BCA seems to be handling the Gremlins just fine. I wonder why that is. Could you try a fight at verbosity 9 perhaps so we can see the inner workings and see what it is that's failing at least :)

BCA handles the gremlins for me, but I can do it much faster if I run the combats myself. I'm not sure exactly why, if it's WHAM, BCA combat script, etc. but I tend to get beaten up a lot when BCA runs that area. I've got all the Zombie Master skills when I get there, plenty of horde, and the Bear Arms equipped.
 

Theraze

Active member
It'll be a few days before I get back to Gremlins, but I'll try to get you a verbose9 log then.

Thought... would it makes sense for Smash & Graaagh to run before SmartStasis executes, in the period along with other pickpocket-type actions? During my delightful backfarming for a bronzed locust, WHAM's version of SS keeps stasising the locusts to death rather than ever Smashing to victory. After well over 40 adventures burned in the Oasis (since the auto-count doesn't include hydration, and I'd aborted twice before those last 40 to check on if I was really just missing it), I manually got my bronzed locust from my third locust, no stasis...
 

Winterbay

Active member
Mine smash&grabbed just fine for the llocust, but yes, it would probably make sense to have it do smash together with all otehr pickpocket actions.

I was at the gremlins today and decided to try things out and it failed miserably. Mainly because it seemed to try and pick ravenous pounce and attack as stasis options rather than say the spectre thingie. I've got no idea why it would do that.
 

Theraze

Active member
Yeah... my NPZR makes stasis seem like a good idea, and while normally I'm fine with letting it kill whatever I'm fighting, when it's something where I can Smash it...
 
It doesn't appear that the new version when doing a Boris run it does not use intimidating bellow anymore. Yesterday I had the previous version and in the same zone The Defiled Nook it used Intimidating Bellow and with the new version today it didn't when running there today
 
Hey can someone tell me what Im doing wrong. I'm sure I'm missing something

Bad monster value: "the naughty sorceress" (SmartStasis.ash, line 431)
Consult script 'WHAM.ash' not found.

Have updated mafia version and WHAM
 

Catch-22

Active member
Hey can someone tell me what Im doing wrong. I'm sure I'm missing something

Bad monster value: "the naughty sorceress" (SmartStasis.ash, line 431)

Nothing you did, "the naughty sorceress" doesn't exist anymore. It's "naughty sorceress" now. If you change line 431 to reflect this, you'll fix that specific error. From memory I had to change a few lines in SmartStasis.
 

Winterbay

Active member
1) I'll post an updated version in the first post with some bug fixes in a few hours (that should olfact). Not sure about that bellow thing. DO you have some CLI output for that?

2) There is a fixed version of SmartStasis in the last post of that thread that I recommend downloading if you don't want to edit the script yourself.
 

Terragon

New member
There are definate problems with the new stasis_option code - I've had to add infectious bite to the don't-use list because if I -can- kill the monster with it, then it will do it - even though a) my horde is enormous, and b) it leaves me on such low HP that I have to devour minions after each adventure, leaving me with a net loss of 3 horde.

The bear stasis option repeating error has also reoccurred - even with the fix in. I'm going to add some extra logging to work out why this might be happening.

Oh, and your fixed version of smartstasis removed one too many characters (you have "aughty sorceress" instead of "naughty sorceress" - anyone having issues with that can sort it out themselves pretty easily though.

Verbose log here:

Code:
Encounter: panicking Knott Yeti
Strategy: /home/cameigh/.kolmafia/ccs/DEFAULT.ccs [default]
Round 0: terragon wins initiative!
Running ZLib version: r37 (current)
1 HP costs 0.5μ. ( 111 / 182 )
1 MP costs 8μ. ( 69 / 326 )
Running BatBrain version: 1.26 (current)
Running SmartStasis version: 3.15 (current)
Running WHAM version: 3.8 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 562.
WHAM: Checking to see if WHAM sould adjust the unknown_ml for Panicking Knott Yeti.
WHAM: No need to do anything with Panicking Knott Yeti.
WHAM: Setting up variables via BatBrain
yeti fur (30.0 @ +0.0): 92μ * 30% = 27.6
Value of stat gain: 99.22μ
yeti fur (30.0 @ +0.0): 92μ * 30% = 27.6
Value of stat gain: 99.22μ
ATT: 115 (88.36% × 21.8, death in 6)
DEF: 102 (24.38% × 35.15, win in 9)
HP: 105, Value: 378.07 μ
Parsed round number: 1
Building options...
Options built! (19 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 562.
WHAM: Current MP = 326 out of 326.
WHAM: You have no profitable MP restoratives.
WHAM: Current HP = 111 out of 182.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Panicking Knott Yeti. Mafia considers that this monster has an attack of 115 or 115 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 102 or 102 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 100 or 100 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 105.0.
WHAM: WHAM added the following to BatRound: if pastround 49; 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; Ninja Pirate Zombie Robot (21.3μ)22.06μ3.63 (-5.87 μ/dmg)Att: -1.1 (-0.39 DPR) Def: -1.1 6% stun chance HP: -1.13
Building custom actions...
Custom actions built! (0 actions)
Stasis option chosen: skill 7133 (round 1, profit: 32.06)
yeti fur (30.0 @ +0.0): 92μ * 30% = 27.6
Value of stat gain: 99.22μ
WHAM: Attack option chosen: skill 7135 (round 1, profit: 42.56)
Top of the stasis loop.
Queued: skill 7133
Building options...
Options built! (18 actions)
Constructed macro: scrollwhendone; sub batround; if pastround 49; 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; sub finito; skill 7133; call batround; endsub; call finito; repeat hasskill 7133 && (!hpbelow 111.0 && hpbelow 182 && !mpbelow 69.0 && !pastround -2)
Round 1: terragon executes a macro!
Round 1: terragon casts BEAR-BACKRUB!
You gain 33 hit points
Happened: skill 7133
Parsed round number: 2
Building options...
Options built! (14 actions)
Stasis option chosen: skill 7135 (round 2, profit: 40.49)
yeti fur (30.0 @ +0.0): 92μ * 30% = 27.6
Value of stat gain: 99.22μ
WHAM: Attack option chosen: skill 7135 (round 2, profit: 40.49)
Top of the stasis loop.
Queued: skill 7135
 
Top