Winterbay's Helpful Automatic Monsterbasher (WHAM)

Any idea what is causing this? It seems to be working "fine" but it spams the syntax error every time.

Code:
[242] Giant's Castle
Encounter: Furry Giant
Strategy:      c:\Games\kolmafia\ccs\WHAM.ccs [default]
Round 0: boxwhore wins      initiative!
Evaluator syntax error: can't understand {206.0}
[COLOR=purple]WHAM:      Running SmartStasis[/COLOR]
Evaluator syntax error: can't understand      {206.0}
Round 1: boxwhore executes a macro!
Round 1: boxwhore tries      to steal an item!
You acquire an item: furry fur
Round 2: Hobolord      climbs up and sits on your shoulder, and hands you some Meat. Huh, where      did he find that?
You gain 56 Meat.
Round 2: Hobolord can't think of      a nasty trick to pull, so settles for kicking him square in his most      sensitive area -- that's right, his ego -- and does 20 damage.
Round 2:      furry giant takes 20 damage.
You lose 6 hit points
Evaluator syntax      error: can't understand {206.0}
Evaluator syntax error: can't      understand {206.0}
Round 2: boxwhore executes a macro!
Round 2:      boxwhore casts SPRING RAINDROP ATTACK!
You gain 21 hit points
You      gain 28 Mojo Points
Round 3: Hobolord can't think of a good trick to      play on your opponent, and resorts to just hitting him with the plastic      bucket. It's not very imaginative, but it deals 12 damage.
Round 3:      furry giant takes 12 damage.
Evaluator syntax error: can't understand      {206.0}
Evaluator syntax error: can't understand {206.0}
Evaluator      syntax error: can't understand {206.0}
Evaluator syntax error: can't      understand {206.0}
Evaluator syntax error: can't understand {206.0}
Evaluator      syntax error: can't understand {206.0}
Evaluator syntax error: can't      understand {206.0}
Evaluator syntax error: can't understand {206.0}
Evaluator      syntax error: can't understand {206.0}
Round 3: boxwhore executes a      macro!
Round 3: boxwhore casts CANDYBLAST!
Round 4: furry giant      takes 55 damage.
Round 4: Hobolord rolls the plastic pumpkin bucket at      him. He promptly trips over it and falls, taking 19 damage.
Round 4:      furry giant takes 19 damage.
Round 4: boxwhore casts CANDYBLAST!
Round      5: furry giant takes 51 damage.
Round 5: Hobolord ties his shoelaces      together. He trips and takes 14 damage as he lands on his face.
Round      5: furry giant takes 14 damage.
Round 5: boxwhore casts CANDYBLAST!
Round      6: furry giant takes 49 damage.
Round 6: boxwhore wins the fight!
After      Battle: Hobolord sits on your fallen opponent's body, blows a smoke ring,      and winks at you.
You gain 461 Meat
After Battle: Hobolord holds out      the plastic pumpkin bucket, hoping for extra goodies.
You acquire an      item: disturbing fanfic
You gain 11 Strongness
You gain 8 Magicalness
You      gain 28 Chutzpah
 
Best troubleshooting would be giving a verbosity 9 combat log where that error happens. That should make it clear what's providing that number, since it's not there directly in batfactors.
 
Code:
        [134] Giant's Castle
Encounter: Furry Giant
Round 0: boxwhore wins     initiative!
[COLOR=gray]Running ZLib version: r36 (current)[/COLOR]
[COLOR=#880000]1     HP costs 0.0020000000949949026μ. ( 638 / 718 )[/COLOR]
[COLOR=#000088]1     MP costs 0.03700000047683716μ. ( 512 / 656 )[/COLOR]
Factoring in     plastic pumpkin bucket: [B][COLOR=blue](6.300000190734863)[/COLOR][/B]     damage,
[COLOR=gray]Running BatBrain version: 1.23 (current)[/COLOR]
[COLOR=gray]Running     SmartStasis version: 3.15 (current)[/COLOR]
[COLOR=gray]Running     WHAM version: 2.6 (current)[/COLOR]
[COLOR=purple]WHAM: We     currently think that the round number is: 0 and that the turn number is     1032.[/COLOR]
[COLOR=purple]WHAM: No need to do anything with     this monster.[/COLOR]
[COLOR=purple]WHAM: Setting up variables     via BatBrain[/COLOR]
[COLOR=black]furry fur (35.0 @ +75.0): 129μ     * 61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing     fanfic (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
[COLOR=black]furry fur (35.0 @     +75.0): 129μ * 61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing     fanfic (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
ATT: [B]145[/B] (6% × 6.75, death in 1576)
DEF:     [B]131[/B] (97.7300033569336% × 139.25, win in 2)
HP: [B]165[/B],     Value: [B][COLOR=green]975.2000122070312 μ[/COLOR][/B]
[COLOR=black]Parsed     round number: 1[/COLOR]
[COLOR=black]Building options...[/COLOR]
Evaluator     syntax error: can't understand {718.0}
[COLOR=black]Options     built! (116 actions)[/COLOR]
[COLOR=purple]WHAM: We currently     think that the round number is: 1 and that the turn number is 1032.[/COLOR]
[COLOR=purple]WHAM:     You have no profitable MP restoratives.[/COLOR]
[COLOR=purple]WHAM:     You have no profitable HP restoratives.[/COLOR]
[COLOR=purple]WHAM:     You are fighting a Furry Giant. Mafia considers that this monster has an     attack of 145 or 145 when given a monster name.[/COLOR]
[COLOR=purple]WHAM:     Mafia further considers that this monster has a defense value of 131 or     131 when given a monster name.[/COLOR]
[COLOR=purple]WHAM: Mafia     further further considers that this monster has a HP value of 160 or 160     when given a monster name.[/COLOR]
[COLOR=purple]WHAM: Your     current ML-adjustment is: 10.[/COLOR]
[COLOR=purple]WHAM: Monster     HP is 165.0.[/COLOR]
[COLOR=black]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; [/COLOR]
[COLOR=purple]WHAM: Running     SmartStasis[/COLOR]
Profit per round:     [TABLE="width: 100%"]
      [TR]
        [TH]          Action        [/TH]
        [TH]          Profit        [/TH]
        [TH]          Damage        [/TH]
        [TH]          Other        [/TH]
      [/TR]
      [TR]
        [TD="align: left"]          base; plastic pumpkin bucket; Hobo Monkey (75μ)        [/TD]
        [TD="align: right"]          [B]75μ[/B]        [/TD]
        [TD="align: center"]          --        [/TD]
        [TD="align: center"]                  [/TD]
      [/TR]
    [/TABLE]
    
    [COLOR=black]Building custom actions...[/COLOR]
[COLOR=black]Queued:     pickpocket[/COLOR]
[COLOR=black]Building options...[/COLOR]
Evaluator     syntax error: can't understand {718.0}
[COLOR=black]Options     built! (116 actions)[/COLOR]
[COLOR=black]Custom actions built!     (0 actions)[/COLOR]
[COLOR=black]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; pickpocket; call     batround; [/COLOR]
Round 1: boxwhore executes a macro!
Round 1:     boxwhore tries to steal an item!
[COLOR=black]Happened:     pickpocket[/COLOR]
[COLOR=black]Parsed round number: 2[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (116 actions)[/COLOR]
[COLOR=black]Stasis action chosen:     skill 7061 (round 2, profit: 75.5199966430664)[/COLOR]
[COLOR=black]furry     fur (35.0 @ +75.0): 129μ * 61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing     fanfic (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
[COLOR=black]Attack action chosen:     skill 1003 (round 2, profit: 74.88999938964844)[/COLOR]
[COLOR=black]Top     of the stasis loop.[/COLOR]
[COLOR=black]Queued: skill 7061[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (116 actions)[/COLOR]
[COLOR=black]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 7061;     call batround; endsub; call finito; repeat hasskill 7061 && (!hpbelow     638.0 && hpbelow 718 && !mpbelow 512.0 && !pastround 26 && !match "hands     you some Meat")[/COLOR]
Round 2: boxwhore executes a macro!
Round     2: boxwhore casts SPRING RAINDROP ATTACK!
You gain 19 hit points
You     gain 22 Mojo Points
[COLOR=black]Happened: skill 7061[/COLOR]
[COLOR=black]Parsed     round number: 3[/COLOR]
[COLOR=black]Building options...[/COLOR]
Evaluator     syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]Stasis action chosen:     use 2678 (round 3, profit: 75.0)[/COLOR]
[COLOR=black]furry fur     (35.0 @ +75.0): 129μ * 61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing     fanfic (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
[COLOR=black]Attack action chosen:     skill 1003 (round 3, profit: 74.88999938964844)[/COLOR]
[COLOR=black]Top     of the stasis loop.[/COLOR]
[COLOR=black]Queued: use 2678[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]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; use 2678;     call batround; endsub; call finito; repeat hascombatitem 2678 && (!hpbelow     638.0 && hpbelow 718 && !mpbelow 534.0 && !pastround 26 && !match "hands     you some Meat")[/COLOR]
Round 3: boxwhore executes a macro!
Round     3: boxwhore uses the spectre scepter!
Round 4: furry giant takes 8     damage.
[COLOR=black]Happened: use 2678[/COLOR]
[COLOR=black]Parsed     round number: 4[/COLOR]
[COLOR=black]Building options...[/COLOR]
Evaluator     syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]Stasis action chosen:     use 2678 (round 4, profit: 75.0)[/COLOR]
[COLOR=black]furry fur     (35.0 @ +75.0): 129μ * 61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing     fanfic (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
[COLOR=black]Attack action chosen:     skill 1003 (round 4, profit: 74.88999938964844)[/COLOR]
[COLOR=black]Top     of the stasis loop.[/COLOR]
[COLOR=black]Queued: use 2678[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]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; use 2678;     call batround; endsub; call finito; repeat hascombatitem 2678 && (!hpbelow     638.0 && hpbelow 718 && !mpbelow 534.0 && !pastround 26 && !match "hands     you some Meat")[/COLOR]
Round 4: boxwhore executes a macro!
Round     4: boxwhore uses the spectre scepter!
Round 5: furry giant takes 10     damage.
Round 5: Hobolord can't think of a good trick to play on your     opponent, and resorts to just hitting him with the plastic bucket. It's     not very imaginative, but it deals 16 damage.
Round 5: furry giant     takes 16 damage.
[COLOR=black]Happened: use 2678[/COLOR]
[COLOR=black]Parsed     round number: 5[/COLOR]
[COLOR=black]Building options...[/COLOR]
Evaluator     syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]Stasis action chosen:     use 2678 (round 5, profit: 75.0)[/COLOR]
[COLOR=black]furry fur     (35.0 @ +75.0): 129μ * 61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing     fanfic (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
[COLOR=black]Attack action chosen:     attack (round 5, profit: 74.0)[/COLOR]
[COLOR=black]Top of the     stasis loop.[/COLOR]
[COLOR=black]Queued: use 2678[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]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; use 2678;     call batround; endsub; call finito; repeat hascombatitem 2678 && (!hpbelow     638.0 && hpbelow 718 && !mpbelow 534.0 && !pastround 26 && !match "hands     you some Meat")[/COLOR]
Round 5: boxwhore executes a macro!
Round     5: boxwhore uses the spectre scepter!
You gain 4 hit points
Round 6:     Hobolord ties his shoelaces together. He trips and takes 17 damage as he     lands on his face.
Round 6: furry giant takes 17 damage.
[COLOR=black]Happened:     use 2678[/COLOR]
[COLOR=black]Parsed round number: 6[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]Stasis action chosen:     use 2678 (round 6, profit: 75.0)[/COLOR]
[COLOR=black]furry fur     (35.0 @ +75.0): 129μ * 61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing     fanfic (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
[COLOR=black]Attack action chosen:     attack (round 6, profit: 74.0)[/COLOR]
[COLOR=black]Top of the     stasis loop.[/COLOR]
[COLOR=black]Queued: use 2678[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]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; use 2678;     call batround; endsub; call finito; repeat hascombatitem 2678 && (!hpbelow     638.0 && hpbelow 718 && !mpbelow 534.0 && !pastround 26 && !match "hands     you some Meat")[/COLOR]
Round 6: boxwhore executes a macro!
Round     6: boxwhore uses the spectre scepter!
You gain 4 hit points
Round 7:     Hobolord climbs up and sits on your shoulder, and hands you some Meat.     Huh, where did he find that?
You gain 78 Meat.
[COLOR=black]Happened:     use 2678[/COLOR]
[COLOR=black]Parsed round number: 7[/COLOR]
[COLOR=black]Happened:     famspent[/COLOR]
[COLOR=black]Building options...[/COLOR]
Evaluator     syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]Stasis action chosen:     use 2678 (round 7, profit: 0.0)[/COLOR]
[COLOR=black]furry fur     (35.0 @ +75.0): 129μ * 61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing     fanfic (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
[COLOR=black]Attack action chosen:     attack (round 7, profit: -0.0)[/COLOR]
[COLOR=black]This monster     is not your huckleberry.[/COLOR]
[COLOR=black]Stasis loop     complete.[/COLOR]
[COLOR=purple]WHAM: SmartStasis complete.[/COLOR]
[COLOR=purple]WHAM:     Running SmartStasis took 6.88 seconds.[/COLOR]
[COLOR=purple]WHAM:     We currently think that the round number is: 7 and that the turn number is     1032.[/COLOR]
[COLOR=purple]WHAM: SS did not finish the script     off, continuing with script execution. [/COLOR]
[COLOR=black]Happened:     use 2678[/COLOR]
[COLOR=black]Parsed round number: 7[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=purple]WHAM: Starting     evaluation and performing of attack[/COLOR]
[COLOR=purple]WHAM:     We currently think that the round number is: 7 and that the turn number is     1032.[/COLOR]
[COLOR=black]furry fur (35.0 @ +75.0): 129μ *     61.25% = 79.01249694824219[/COLOR]
[COLOR=black]disturbing fanfic     (30.0 @ +75.0): 132μ * 52.5% = 69.30000305175781[/COLOR]
[COLOR=black]wolf     mask (10.0 @ +75.0): 165μ * 17.5% = 28.875[/COLOR]
Value of stat     gain: 385.1600036621094μ
[COLOR=black]Attack action chosen:     attack (round 7, profit: -0.0)[/COLOR]
[COLOR=black]Queued: attack[/COLOR]
[COLOR=black]Building     options...[/COLOR]
Evaluator syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]Happened: use 2678[/COLOR]
[COLOR=black]Parsed     round number: 7[/COLOR]
[COLOR=black]Building options...[/COLOR]
Evaluator     syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=purple]WHAM: Evaluating the     attack but not performing it took 0.57 seconds.[/COLOR]
[COLOR=purple]WHAM:     You will kill the monster in 1 rounds with your basic attack.[/COLOR]
[COLOR=purple]WHAM:     The monster will take more than 30 rounds to kill you.[/COLOR]
[COLOR=purple]rounds_to_kill:     1, round_limit: 10, maxround: 30, die_rounds(): 1576, hitchance("attack"):     0.9772727489471436[/COLOR]
[COLOR=purple]WHAM: Expected received     damage per round: 0.4048852324485779, Rounds to kill: 1, Expected damage:     114.0, Hit chance: 1.0[/COLOR]
[COLOR=purple]WHAM: Monster is     weak. We are just going to bash its head in. It'll take 1 rounds.[/COLOR]
[COLOR=black]Queued:     attack[/COLOR]
[COLOR=black]Building options...[/COLOR]
Evaluator     syntax error: can't understand {718.0}
[COLOR=black]Options     built! (112 actions)[/COLOR]
[COLOR=black]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; attack; call     batround; endsub; call finito; repeat [/COLOR]
Round 7: boxwhore     executes a macro!
Round 7: boxwhore attacks!
Round 8: furry giant     takes 178 damage.
Round 8: boxwhore wins the fight!
After Battle:     Hobolord sits on your fallen opponent's body, blows a smoke ring, and     winks at you.
You gain 407 Meat
After Battle: Hobolord holds out the     plastic pumpkin bucket, hoping for extra goodies.
You acquire an item:     furry fur
You acquire an item: disturbing fanfic
You gain 12     Strongness
You gain a Muscle point!
You gain 4 Enchantedness
You     gain 27 Chutzpah
[COLOR=black]Happened: attack[/COLOR]
[COLOR=black]Parsed     round number: 0[/COLOR]
[COLOR=green]Look! You found 1 disturbing     fanfic (132μ)![/COLOR]
[COLOR=green]Look! You found 1 furry     fur (129μ)![/COLOR]
[COLOR=black]Happened: crit[/COLOR]
[COLOR=purple]WHAM:     Evaluating the attack and performing it took 8.46 seconds.[/COLOR]
[COLOR=purple]WHAM:     We currently think that the round number is: 31 and that the turn number     is 1033.[/COLOR]
[COLOR=purple]WHAM: We currently think that the     round number is: 31 and that the turn number is 1033.[/COLOR]

Fun stuff.
 
Even more possibly nice is a level 11 verbosity which should print out everything it tries to analyse. May help narrrow it down to a specific skill...
 
Will have to give it a shot tomorrow then, finished up using all my adventures already on boxwhore.
 
Scratch that went to my boriscore character and I'm having the same issue.

Cranked verbosity up to 11 and this was the output.

Code:
        [30] Belilafs Comedy Club
Encounter: Pr Imp
Round 0: fewyn wins     initiative!
[COLOR=gray]Running ZLib version: r36 (current)[/COLOR]
[COLOR=#880000]1     HP costs 6.666999816894531μ. ( 139 / 139 )[/COLOR]
[COLOR=#000088]1     MP costs 17μ. ( 25 / 46 )[/COLOR]
[COLOR=gray]Running     BatBrain version: 1.23 (current)[/COLOR]
[COLOR=gray]Running     SmartStasis version: 3.15 (current)[/COLOR]
[COLOR=gray]Running     WHAM version: 2.6 (current)[/COLOR]
[COLOR=purple]WHAM: We     currently think that the round number is: 0 and that the turn number is     162.[/COLOR]
[COLOR=purple]WHAM: No need to do anything with this     monster.[/COLOR]
[COLOR=purple]WHAM: Setting up variables via     BatBrain[/COLOR]
[COLOR=black]imp air (15.0 @ +0.0): 883μ * 15.0%     = 132.4499969482422[/COLOR]
Value of stat gain: 206.88999938964844μ
[COLOR=black]imp     air (15.0 @ +0.0): 883μ * 15.0% = 132.4499969482422[/COLOR]
Value     of stat gain: 206.88999938964844μ
ATT: [B]60[/B] (94% ×     25.280000686645508, death in 6)
DEF: [B]54[/B] (95.44999694824219% ×     45.20000076293945, win in 2)
HP: [B]63[/B], Value: [B][COLOR=green]392.3399963378906     μ[/COLOR][/B]
[COLOR=black]Parsed round number: 1[/COLOR]
[COLOR=black]Building     options...[/COLOR]
[COLOR=black]Evaluating '5.0'...[/COLOR]
[COLOR=black]Evaluating     '0.5'...[/COLOR]
[COLOR=black]Evaluating '0.5'...[/COLOR]
[COLOR=black]Evaluating     '-139.0'...[/COLOR]
[COLOR=black]Evaluating '-{139.0}'...[/COLOR]
Evaluator     syntax error: can't understand {139.0}
[COLOR=black]Evaluating     '-0.15*1.0*60.0'...[/COLOR]
[COLOR=black]Evaluating     '-0.15*1.0*60.0'...[/COLOR]
[COLOR=black]Evaluating '1.0-1'...[/COLOR]
[COLOR=black]Evaluating     'F*4+8'...[/COLOR]
[COLOR=black]Options built! (12 actions)[/COLOR]
[COLOR=purple]WHAM:     We currently think that the round number is: 1 and that the turn number is     162.[/COLOR]
[COLOR=purple]WHAM: You have no profitable MP     restoratives.[/COLOR]
[COLOR=purple]WHAM: You have no profitable     HP restoratives.[/COLOR]
[COLOR=purple]WHAM: You are fighting a     PR Imp. Mafia considers that this monster has an attack of 60 or 60 when     given a monster name.[/COLOR]
[COLOR=purple]WHAM: Mafia further     considers that this monster has a defense value of 54 or 54 when given a     monster name.[/COLOR]
[COLOR=purple]WHAM: Mafia further further     considers that this monster has a HP value of 60 or 60 when given a     monster name.[/COLOR]
[COLOR=purple]WHAM: Your current     ML-adjustment is: 0.[/COLOR]
[COLOR=purple]WHAM: Monster HP is     63.0.[/COLOR]
[COLOR=black]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; [/COLOR]
[COLOR=purple]WHAM: We currently     think that the round number is: 1 and that the turn number is 162.[/COLOR]
[COLOR=purple]WHAM:     SS did not finish the script off, continuing with script execution. [/COLOR]
[COLOR=black]Parsed     round number: 1[/COLOR]
[COLOR=black]Building options...[/COLOR]
[COLOR=black]Evaluating     '5.0'...[/COLOR]
[COLOR=black]Evaluating '0.5'...[/COLOR]
[COLOR=black]Evaluating     '0.5'...[/COLOR]
[COLOR=black]Evaluating '-139.0'...[/COLOR]
[COLOR=black]Evaluating     '-{139.0}'...[/COLOR]
Evaluator syntax error: can't understand {139.0}
[COLOR=black]Evaluating     '-0.15*1.0*60.0'...[/COLOR]
[COLOR=black]Evaluating     '-0.15*1.0*60.0'...[/COLOR]
[COLOR=black]Evaluating '1.0-1'...[/COLOR]
[COLOR=black]Evaluating     'F*4+8'...[/COLOR]
[COLOR=black]Options built! (12 actions)[/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     162.[/COLOR]
[COLOR=blue]WHAM: Currently checking Cleave which     has a reported damage of 63.0 and is ok.[/COLOR]
[COLOR=purple]WHAM:     Raw damage is estimated at 0.0 (cold), 0.0 (hot), 0.0 (stench), 0.0     (spooky), 0.0 (sleazy) and 151.2239990234375 (physical).[/COLOR]
[COLOR=blue]WHAM:     Currently checking Mighty Axing which has a reported damage of     45.20399856567383 and is ok.[/COLOR]
[COLOR=purple]WHAM: Raw     damage is estimated at 0.0 (cold), 0.0 (hot), 0.0 (stench), 0.0 (spooky),     0.0 (sleazy) and 45.20399856567383 (physical).[/COLOR]
[COLOR=blue]WHAM:     Currently checking none which has a reported damage of 43.149269104003906     and is not ok.[/COLOR]
[COLOR=purple]WHAM: Raw damage is     estimated at 0.0 (cold), 0.0 (hot), 0.0 (stench), 0.0 (spooky), 0.0     (sleazy) and 43.149269104003906 (physical).[/COLOR]
[COLOR=blue]WHAM:     Currently checking Heroic Belch which has a reported damage of 16.0 and is     ok.[/COLOR]
[COLOR=purple]WHAM: Raw damage is estimated at 0.0     (cold), 0.0 (hot), 8.0 (stench), 0.0 (spooky), 0.0 (sleazy) and 0.0     (physical).[/COLOR]
[COLOR=blue]WHAM: Currently checking     sonar-in-a-biscuit which has a reported damage of 6.0 and is ok.[/COLOR]
[COLOR=purple]WHAM:     Raw damage is estimated at 0.0 (cold), 0.0 (hot), 0.0 (stench), 0.0     (spooky), 0.0 (sleazy) and 6.0 (physical).[/COLOR]
[COLOR=blue]WHAM:     Currently checking Knob Goblin firecracker which has a reported damage of     3.0 and is ok.[/COLOR]
[COLOR=purple]WHAM: Raw damage is     estimated at 0.0 (cold), 0.0 (hot), 0.0 (stench), 0.0 (spooky), 0.0     (sleazy) and 3.0 (physical).[/COLOR]
[COLOR=purple]WHAM: Debug     printing the damage dealt by your options.[/COLOR]

[COLOR=purple]WHAM:     Cleave: 63.00 potential damage and a hitchance of 100.00%.[/COLOR]
[COLOR=purple]WHAM:     Mighty Axing: 45.20 potential damage and a hitchance of 100.00%.[/COLOR]
[COLOR=purple]WHAM:     Heroic Belch: 16.00 potential damage and a hitchance of 100.00%.[/COLOR]
[COLOR=purple]WHAM:     sonar-in-a-biscuit: 6.00 potential damage and a hitchance of 100.00%.[/COLOR]
[COLOR=purple]WHAM:     Knob Goblin firecracker: 3.00 potential damage and a hitchance of 100.00%.[/COLOR]

[COLOR=purple]WHAM:     Evaluating the attack but not performing it took 0.02 seconds.[/COLOR]
[COLOR=red]WHAM:     Stopping now, go read the generated data-files[/COLOR]
[COLOR=red]WHAM:     Stopping now, go read the generated data-files[/COLOR]
[COLOR=black]Evaluating     '0.0'...[/COLOR]
[COLOR=black]Evaluating '0.0'...[/COLOR]
[COLOR=black]Queued:     skill 11003[/COLOR]
[COLOR=black]Building options...[/COLOR]
[COLOR=black]Evaluating     '5.0'...[/COLOR]
[COLOR=black]Evaluating '0.5'...[/COLOR]
[COLOR=black]Evaluating     '0.5'...[/COLOR]
[COLOR=black]Evaluating '-139.0'...[/COLOR]
[COLOR=black]Evaluating     '-{139.0}'...[/COLOR]
Evaluator syntax error: can't understand {139.0}
[COLOR=black]Evaluating     '-0.15*1.0*60.0'...[/COLOR]
[COLOR=black]Evaluating     '-0.15*1.0*60.0'...[/COLOR]
[COLOR=black]Evaluating '1.0-1'...[/COLOR]
[COLOR=black]Evaluating     'F*4+8'...[/COLOR]
[COLOR=black]Options built! (11 actions)[/COLOR]
[COLOR=purple]WHAM:     Enqueuing a stun to help with the battle[/COLOR]
[COLOR=red]WHAM:     We can't Saucesplash.[/COLOR]
[COLOR=red]true, true, true, true,     false[/COLOR]
[COLOR=purple]WHAM: Enqueueing (macroid ).[/COLOR]
[COLOR=red]Unable     to enqueue empty action.[/COLOR]
[COLOR=black]WHAM: Failed to     enqueue (entry 01 in the strategy).[/COLOR]
[COLOR=black]WHAM:     The following combat strategy was attempted: [/COLOR]


[COLOR=red]WHAM:     Aborting now to let you figure this out.[/COLOR]
[COLOR=red]You're     on your own, partner.[/COLOR]
[URL="http://kolmafia.us/main.php"]Click     here to continue in the relay browser.[/URL]
 
Looks like BatBrain is putting negative numbers in incorrectly, putting the bracket before the number instead of the sign? Not sure which is the negative option, but...
 
Should the {brackets} even be there?

I don't think so... But I can't find anything in batfactors with a "-{" and an average value of 139, there are rather few that even contains 139.

"-0.15*1.0*60.0" times 2 as well as "'1.0-1" is intimidating bellow, "F*4+8" is heroic belch. Not at all sure what the others are, they don't match up with what the printout says it considers available options which is confusing.
 
No, I mean ... should the {} characters even make it to the string that gets passed to modifier_eval? That doesn't look right. How do they get there? That should get replaced out ...

I see it now. Soggy used band-aid has -{maxhp}. The deranged() function only replaces things of the form {number1,number2,number3} with all 3.

ETA: supporting evidence:
Code:
HP costs 6.666999816894531μ. ( 139 / 139 )
maxhp is 139 ...
 
Looks like someone just screwed up batfactors.txt, not an actual script issue. Support for non-ranged not using {}:
Code:
item	1051	red plastic oyster egg	0	-{35,37.5,40}	
item	1055	blue plastic oyster egg	0	-42.5
So this:
Code:
item	5678	soggy used band-aid	0	-{maxhp}	stun 3
should just change to
Code:
item	5678	soggy used band-aid	0	-maxhp	stun 3
 
wouldn't that stop replacing maxhp with the actual value?

anyway, I used {maxhp,maxhp,maxhp} instead and warnings went away
 
I'm still trying to figure out why WHAM refuses to stasis with my hipster most of the time. Here's three logs (zlib verbosity = 9). I ended up deleting Saucy Salve and Lasagna Bandages from BatFactors, so Stealth Mistletoe was considered "best" instead. It's clearly deciding stasis is not profitable, but I've done other round by hand and stasis was highly profitable, netting about 10x the MP of HP lost. Working right, the script would pick Sing or Suckerpunch. I used sing which has 0 MP cost on this AT run. The first log is 2.4 (without healing spells?), the second is 2.5 (with healing spells), the third is 2.5 (without out healing spells). Everything should be up to date.

I'm not sure how to read the line starting, "Profit per round: ActionProfitDamageOtherbase" to tell if that's where the trouble starts.

Code:
[12] Outskirts of The Knob
Encounter: Knob Goblin Assistant Chef
Strategy: /root/.kolmafia/ccs/Destroy.ccs [default]
Round 0: Crowther wins initiative!
Running ZLib version: r36 (current)
1 HP costs 4.85699987411499μ. ( 27 / 55 )
1 MP costs 17μ. ( 25 / 93 )
Running BatBrain version: 1.23 (current)
Running SmartStasis version: 3.15 (current)
Running WHAM version: 2.5 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 11.
WHAM: No need to do anything with this monster.
WHAM: Setting up variables via BatBrain
chef's hat (32.0 @ +35.0): 265μ * 43.20000076293945% = 114.4800033569336
Knob Goblin tongs (12.0 @ +35.0): 25μ * 16.200000762939453% = 4.050000190734863
Knob Goblin pants (8.0 @ +35.0): 30μ * 10.800000190734863% = 3.240000009536743
Value of stat gain: 123.75μ
chef's hat (32.0 @ +35.0): 265μ * 43.20000076293945% = 114.4800033569336
Knob Goblin tongs (12.0 @ +35.0): 25μ * 16.200000762939453% = 4.050000190734863
Knob Goblin pants (8.0 @ +35.0): 30μ * 10.800000190734863% = 3.240000009536743
Value of stat gain: 123.75μ
ATT: 12 (6% × 1, death in 450)
DEF: 10 (97.7300033569336% × 20.579999923706055 (3) (3) (3) (3) (3), win in 1)
HP: 11.550000190734863, Value: 257.5199890136719 μ
Parsed round number: 1
Building options...
Options built! (32 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 11.
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Knob Goblin Assistant Chef. Mafia considers that this monster has an attack of 12 or 12 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 10 or 10 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 11 or 11 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 11.550000190734863.
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; Mini-Hipster (3μ)24.309999465942383μ0 (0.5400000214576721) (0.5400000214576721) Actual: 2 (-1.5 μ/dmg)Att: -0.1899999976158142 (0 DPR) Def: -0.1899999976158142 HP: -0.9700000286102295 MP: 0.9800000190734863
Building custom actions...
Queued: pickpocket
Building options...
Options built! (32 actions)
Custom actions built! (0 actions)
Stasis action chosen: skill 5023 (round 2, profit: -85)
chef's hat (32.0 @ +35.0): 265μ * 43.20000076293945% = 114.4800033569336
Knob Goblin tongs (12.0 @ +35.0): 25μ * 16.200000762939453% = 4.050000190734863
Knob Goblin pants (8.0 @ +35.0): 30μ * 10.800000190734863% = 3.240000009536743
Value of stat gain: 123.11000061035156μ
Attack action chosen: attack (round 2, profit: 24.040000915527344)
This monster is not your huckleberry.
Stasis loop complete (queue still contains 1 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; pickpocket; call batround;
Round 1: Crowther executes a macro!
Round 1: Crowther tries to steal an item!
You acquire an item: chef's hat
You gain 2 Magicalness
Happened: pickpocket
Parsed round number: 2
Happened: hipster_stats
You snatched a chef's hat (265μ)!
Knob Goblin tongs (12.0 @ +35.0): 25μ * 16.200000762939453% = 4.050000190734863
Knob Goblin pants (8.0 @ +35.0): 30μ * 10.800000190734863% = 3.240000009536743
Value of stat gain: 123.75μ
Revised monster value: 143.0399932861328
Happened: stolen
Building options...
Options built! (32 actions)
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 1.2450000047683716 seconds.
WHAM: We currently think that the round number is: 2 and that the turn number is 11.
WHAM: SS did not finish the script off, continuing with script execution.
Happened: pickpocket
Parsed round number: 2
Happened: hipster_stats
You snatched a chef's hat (265μ)!
Knob Goblin tongs (12.0 @ +35.0): 25μ * 16.200000762939453% = 4.050000190734863
Knob Goblin pants (8.0 @ +35.0): 30μ * 10.800000190734863% = 3.240000009536743
Value of stat gain: 123.75μ
Revised monster value: 143.0399932861328
Happened: stolen
Building options...
Options built! (32 actions)
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 2 and that the turn number is 11.
Knob Goblin tongs (12.0 @ +35.0): 25μ * 16.200000762939453% = 4.050000190734863
Knob Goblin pants (8.0 @ +35.0): 30μ * 10.800000190734863% = 3.240000009536743
Value of stat gain: 123.75μ
Attack action chosen: attack (round 2, profit: 24.040000915527344)
Queued: attack
Building options...
Options built! (32 actions)
Happened: pickpocket
Parsed round number: 2
Happened: hipster_stats
You snatched a chef's hat (265μ)!
Knob Goblin tongs (12.0 @ +35.0): 25μ * 16.200000762939453% = 4.050000190734863
Knob Goblin pants (8.0 @ +35.0): 30μ * 10.800000190734863% = 3.240000009536743
Value of stat gain: 123.75μ
Revised monster value: 143.0399932861328
Happened: stolen
Building options...
Options built! (32 actions)
WHAM: Evaluating the attack but not performing it took 0.23199999332427979 seconds.
WHAM: You will kill the monster in 1 rounds with your basic attack.
WHAM: The monster will take more than 30 rounds to kill you.
rounds_to_kill: 1, round_limit: 10, maxround: 30, die_rounds(): 450, hitchance("attack"): 0.9772727489471436
WHAM: Expected received damage per round: 0.05999999865889549, Rounds to kill: 1, Expected damage: 11.550000190734863, Hit chance: 1.0
WHAM: Monster is weak. We are just going to bash its head in. It'll take 1 rounds.
Queued: attack
Building options...
Options built! (32 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; attack; call batround; endsub; call finito; repeat
Round 2: Crowther executes a macro!
Round 2: Crowther attacks!
Round 3: Crowther wins the fight!
Your familiar gains a pound: Davenport, the 3 lb. Mini-Hipster
You gain 12 Meat
You acquire an item: Knob Goblin tongs
You gain 4 Strengthliness
You gain 4 Mysteriousness
You gain 2 Chutzpah
Happened: attack
Parsed round number: 0
Look! You found 1 Knob Goblin tongs (25μ)!
WHAM: Evaluating the attack and performing it took 2.3610000610351562 seconds.
WHAM: We currently think that the round number is: 31 and that the turn number is 12.
WHAM: We currently think that the round number is: 31 and that the turn number is 12.
Code:
[141] Dark Heart of the Woods
Encounter: Fallen Archfiend
Strategy: /root/.kolmafia/ccs/Destroy.ccs [default]
Round 0: Crowther wins initiative!
Running ZLib version: r36 (current)
1 HP costs 5.1μ. ( 78 / 79 )
1 MP costs 17μ. ( 44 / 82 )
Running BatBrain version: 1.23 (current)
Running SmartStasis version: 3.15 (current)
Running WHAM version: 2.6 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 140.
WHAM: No need to do anything with this monster.
WHAM: Setting up variables via BatBrain
demon skin (15.0 @ +35.0): 55μ * 20.25% = 11.1375
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
demon skin (15.0 @ +35.0): 55μ * 20.25% = 11.1375
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
ATT: 60 (27.5% × 1, death in 284)
DEF: 54 (97.73% × 30.62 (3) (3) (8) (3) (3), win in 1)
HP: 63.0, Value: 1,346.14 μ
Parsed round number: 1
Building options...
Options built! (44 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 140.
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Fallen Archfiend. Mafia considers that this monster has an attack of 60 or 60 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 54 or 54 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 60 or 60 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 63.000000044703484.
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; Mini-Hipster (4.75μ)37.37μ0 (3.74) (3.74) Actual: 8.48 (-0.56 μ/dmg)Att: -0.24 (-0.01 DPR) Def: -0.24 HP: -1.62 MP: 1.62
Building custom actions...
Queued: pickpocket
Building options...
Options built! (44 actions)
Custom actions built! (0 actions)
Stasis action chosen: skill 4014 (round 2, profit: -35.73)
demon skin (15.0 @ +35.0): 55μ * 20.25% = 11.1375
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 287.93μ
Attack action chosen: attack (round 2, profit: 32.27)
This monster is not your huckleberry.
Stasis loop complete (queue still contains 1 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; pickpocket; call batround;
Round 1: Crowther executes a macro!
Round 1: Crowther tries to steal an item!
You acquire an item: demon skin
You gain 4 Cheek
Happened: pickpocket
Parsed round number: 2
Happened: hipster_stats
You snatched a demon skin (55μ)!
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
Revised monster value: 1,335
Happened: stolen
Building options...
Options built! (44 actions)
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 1.75 seconds.
WHAM: We currently think that the round number is: 2 and that the turn number is 140.
WHAM: SS did not finish the script off, continuing with script execution.
Happened: pickpocket
Parsed round number: 2
Happened: hipster_stats
You snatched a demon skin (55μ)!
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
Revised monster value: 1,335
Happened: stolen
Building options...
Options built! (44 actions)
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 2 and that the turn number is 140.
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
Attack action chosen: attack (round 2, profit: 37.37)
Queued: attack
Building options...
Options built! (44 actions)
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 287.93μ
Attack action chosen: attack (round 3, profit: 32.27)
Queued: attack
Building options...
Options built! (44 actions)
Happened: pickpocket
Parsed round number: 2
Happened: hipster_stats
You snatched a demon skin (55μ)!
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
Revised monster value: 1,335
Happened: stolen
Building options...
Options built! (44 actions)
WHAM: Evaluating the attack but not performing it took 0.46 seconds.
WHAM: You will kill the monster in 1 rounds with your basic attack.
WHAM: The monster will take more than 30 rounds to kill you.
rounds_to_kill: 1, round_limit: 10, maxround: 30, die_rounds(): 355, hitchance("attack"): 0.9772727272727273
WHAM: Expected received damage per round: 0.2200000137090683, Rounds to kill: 1, Expected damage: 58.28772744747725, Hit chance: 1.0
WHAM: Monster is weak. We are just going to bash its head in. It'll take 1 rounds.
Queued: attack
Building options...
Options built! (44 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; attack; call batround; endsub; call finito; repeat
Round 2: Crowther executes a macro!
Round 2: Crowther attacks!
Round 3: Crowther attacks!
Round 4: Crowther wins the fight!
You gain 58 Meat
You acquire an item: evil golden arch
You gain 6 Beefiness
You gain 4 Wizardliness
You gain 14 Roguishness
Happened: attack
Happened: attack
Parsed round number: 0
Look! You found 1 evil golden arch (2,395μ)!
Happened: crit
WHAM: Evaluating the attack and performing it took 3.20 seconds.
WHAM: We currently think that the round number is: 31 and that the turn number is 141.
WHAM: We currently think that the round number is: 31 and that the turn number is 141.
Code:
[144] Dark Heart of the Woods
Encounter: Fallen Archfiend
Strategy: /root/.kolmafia/ccs/Destroy.ccs [default]
Round 0: Crowther wins initiative!
Running ZLib version: r36 (current)
1 HP costs 5.1μ. ( 78 / 79 )
1 MP costs 17μ. ( 47 / 82 )
Running BatBrain version: 1.23 (current)
Running SmartStasis version: 3.15 (current)
Running WHAM version: 2.6 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 143.
WHAM: No need to do anything with this monster.
WHAM: Setting up variables via BatBrain
demon skin (15.0 @ +35.0): 55μ * 20.25% = 11.1375
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
demon skin (15.0 @ +35.0): 55μ * 20.25% = 11.1375
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
ATT: 60 (22.0% × 1, death in 355)
DEF: 54 (97.73% × 30.62 (3) (3) (8) (3) (3), win in 1)
HP: 63.0, Value: 1,346.14 μ
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 143.
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Fallen Archfiend. Mafia considers that this monster has an attack of 60 or 60 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 54 or 54 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 60 or 60 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 63.000000044703484.
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; Mini-Hipster (4.75μ)37.37μ0 (3.74) (3.74) Actual: 8.48 (-0.56 μ/dmg)Att: -0.24 (-0.01 DPR) Def: -0.24 HP: -1.62 MP: 1.62
Building custom actions...
Queued: pickpocket
Building options...
Options built! (42 actions)
Custom actions built! (0 actions)
Stasis action chosen: skill 5023 (round 2, profit: -85)
demon skin (15.0 @ +35.0): 55μ * 20.25% = 11.1375
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 287.93μ
Attack action chosen: attack (round 2, profit: 32.27)
This monster is not your huckleberry.
Stasis loop complete (queue still contains 1 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; pickpocket; call batround;
Round 1: Crowther executes a macro!
Round 1: Crowther tries to steal an item!
Happened: pickpocket
Parsed round number: 2
Building options...
Options built! (42 actions)
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 1.33 seconds.
WHAM: We currently think that the round number is: 2 and that the turn number is 143.
WHAM: SS did not finish the script off, continuing with script execution.
Happened: pickpocket
Parsed round number: 2
Building options...
Options built! (42 actions)
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 2 and that the turn number is 143.
demon skin (15.0 @ +35.0): 55μ * 20.25% = 11.1375
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 288.75μ
Attack action chosen: attack (round 2, profit: 37.37)
Queued: attack
Building options...
Options built! (42 actions)
demon skin (15.0 @ +35.0): 55μ * 20.25% = 11.1375
evil golden arch (30.0 @ +35.0): 2,395μ * 40.5% = 969.975
infernal insoles (10.0 @ +35.0): 65μ * 13.5% = 8.775
Value of stat gain: 287.93μ
Attack action chosen: attack (round 3, profit: 32.27)
Queued: attack
Building options...
Options built! (42 actions)
Happened: pickpocket
Parsed round number: 2
Building options...
Options built! (42 actions)
WHAM: Evaluating the attack but not performing it took 0.48 seconds.
WHAM: You will kill the monster in 1 rounds with your basic attack.
WHAM: The monster will take more than 30 rounds to kill you.
rounds_to_kill: 1, round_limit: 10, maxround: 30, die_rounds(): 355, hitchance("attack"): 0.9772727272727273
WHAM: Expected received damage per round: 0.2200000137090683, Rounds to kill: 1, Expected damage: 58.28772744747725, Hit chance: 1.0
WHAM: Monster is weak. We are just going to bash its head in. It'll take 1 rounds.
Queued: attack
Building options...
Options built! (42 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; attack; call batround; endsub; call finito; repeat
Round 2: Crowther executes a macro!
Round 2: Crowther attacks!
Round 3: Crowther attacks!
You gain 3 Magicalness
Round 4: Crowther wins the fight!
You gain 57 Meat
You acquire an item: evil golden arch
You acquire an item: demon skin
You gain 3 Strongness
You gain 5 Magicalness
You gain 15 Sarcasm
Happened: attack
Happened: attack
Parsed round number: 0
Happened: hipster_stats
Look! You found 1 demon skin (55μ)!
Look! You found 1 evil golden arch (2,395μ)!
WHAM: Evaluating the attack and performing it took 2.88 seconds.
WHAM: We currently think that the round number is: 31 and that the turn number is 144.
WHAM: We currently think that the round number is: 31 and that the turn number is 144.
 
Let's start off by ruling out the easy ones: What is your BatMan_profitforstasis zlib variable set to?
It's 10.0. I remember lowering it from 15, because I didn't think it was stasising often enough. In the logs I posted, it says the profit from stasis is -85 or -35 depending on the skill it picks. That's as far as I was able to understand.
 
Is it still doing this if you set your CCS to the following:

consult smartstasis.ash
abort

Because as far as I think, I only imported the main.fucntion of SS into WHAM and call that so... :)
 
Is it still doing this if you set your CCS to the following:

consult smartstasis.ash
abort

Because as far as I think, I only imported the main.fucntion of SS into WHAM and call that so... :)
Ha! Good point. I'll try tomorrow. I couldn't figure out how to tell if ti was SS or WHAM. Silly I didn't just think to try SS alone.
 
On the rare time WHAM ends up failing due to a bad critical, WHAM doesn't appear to realize that combat is over; my script stays 'running' forever. Not sure if there's any good way to show what's going on, but...

Another WHAM problem... not aware of amnesia.
Round 3: protagonist takes 1 damage.
You lose 25 hit points
You acquire an effect: Temporary Amnesia (duration: 5 Adventures)
Auto-funk: merging 'use 353' and 'use 353'.
WHAM: Unable to enqueue Wave of Sauce.
WHAM: Unable to enqueue Saucegeyser.
WHAM: We are going to Saucesplash with Wave of Sauce and Saucegeyser
WHAM: Current monster HP is calculated to 80.00000005960464
 
Last edited:
Back
Top