Winterbay's Helpful Automatic Monsterbasher (WHAM)

fronobulax

Developer
Staff member
Do you have any shards of double-ice?

Edit: That said, it should be the same in the old version since the new version really didn't change anything in regards to what to enqueue or not.

Where is the "I am so embarrassed icon?" I didn't have any shards but I had just started a basement dive. Last time I did that WHAM kept telling me I was on my own even though I had shards in inventory and a shard followed by weapon of the pastalord could pretty much kill anything. My solution was to bypass WHAM for most of the basement monsters so it was my own CCS and not WHAM that was responsible.
 

Winterbay

Active member
I wonder why it tried to use a shard when you didn't have one then...

Edit: Version 5.1 uploaded which handles olfacting via the Staff of Cream if you have it equipped and also modifies the staff of life and staff of all-steak uses slightly.
 
It wasted another grenade on me. It does miscalculate boil's damage, maybe that was it?

Code:
[384] Smut Orc Logging Camp
Encounter: smut orc nailer
Round 0: chef_rannos wins initiative!
Checking for updates (running ZLib ver. r37)...
Running ZLib version: r37 (current)
1 HP costs 6.667μ. ( 50 / 80 )
1 MP costs 8μ. ( 10 / 141 )
You have the latest batfactors.txt. Will not check again today.
Checking for updates (running BatBrain ver. 1.31.1)...
The string "/\/\^v^/\/\" is not an integer; returning 0 (zlib.ash, line 181)
The string "/\/\^v^/\/\" is not an integer; returning 0 (zlib.ash, line 182)
Running BatBrain version: 1.31.1 (current)
Checking for updates (running SmartStasis ver. 3.18)...
Running SmartStasis version: 3.18 (current)
Checking for updates (running WHAM ver. 5.0)...
New Version of WHAM Available: 5.1
Upgrade from 5.0 to 5.1 here!

WHAM: We currently think that the round number is: 0 and that the turn number is 383.
WHAM: Checking to see if WHAM sould adjust the unknown_ml for smut orc nailer.
WHAM: No need to do anything with smut orc nailer.
WHAM: Setting up variables via BatBrain
You have the latest pluralMonsters.txt. Will not check again today.
Value of stat gain: 249.69μ
Value of stat gain: 249.69μ
ATT: 105 (94% × 26.49, death in 3)
DEF: 100 (8.59% × 2.18, win in 100)
HP: 99.75, Value: 249.69 μ, RES: 0
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 383.
WHAM: Current MP = 10 out of 141.
WHAM: You have no profitable MP restoratives.
WHAM: Current HP = 50 out of 80.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a smut orc nailer. Mafia considers that this monster has an attack of 105 or 105 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 100 or 100 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 95 or 95 when given a monster name.
WHAM: Your current ML-adjustment is: 30.
WHAM: Monster HP is 99.75.
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; 
Value of stat gain: 249.69μ
WHAM: Attack option chosen: skill 14003 (round 1, profit: -40)
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
Building custom WHAM actions...
Custom WHAM actions built! (0 actions)
Building custom actions...
Custom actions built! (0 actions)
WHAM: Stasis option chosen: skill 14023 (round 1, profit: -205.98)
Value of stat gain: 249.69μ
WHAM: Attack option chosen: skill 14003 (round 1, profit: -40)
This monster is not your huckleberry.
Stasis loop complete.
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 0.82 seconds.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: We currently think that the round number is: 1 and that the turn number is 383.
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 383.
Value of stat gain: 249.69μ
WHAM: Attack option chosen: skill 14003 (round 1, profit: -40)
WHAM: Stun option chosen: use 5750 (round 1, profit: -8.35)
Monster HP is 95 according to Mafia and 99.75 according to BatBrain
Queued: use 5750
Building options...
Options built! (19 actions)
Queued: skill 14003
Building options...
Options built! (18 actions)
Parsed round number: 1
Building options...
Options built! (19 actions)
WHAM: Evaluating the attack but not performing it took 0.38 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: use 5750
Building options...
Options built! (19 actions)
WHAM: We can't Saucesplash.
true, true, true, true, false
WHAM: Enqueueing Boil (macroid skill 14003). Estimated damage: 99.75.
Queued: skill 14003
Building options...
Options built! (18 actions)
WHAM: Successfully enqueued Boil.
WHAM: We are going to 2-shot with CSA obedience grenade and Boil.
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; use 5750; call batround; skill 14003; call batround; 
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos uses the CSA obedience grenade!
Round 2: smut orc nailer drops 5 attack power.
Round 2: smut orc nailer drops 5 defense.
Round 2: chef_rannos casts BOIL!
Round 3: smut orc nailer takes 110 damage.
Round 3: chef_rannos wins the fight!
You gain 5 hit points
You gain 3 Mana Points
You gain 25 Meat
You acquire an item: long hard screw
You gain 5 Muscleboundness
You gain 17 Enchantedness
You gain 8 Cheek
Happened: use 5750
Happened: skill 14003
Parsed round number: 0
Look! You found 1 long hard screw (50μ)!
WHAM: Evaluating the attack and performing it took 2.57 seconds.
WHAM: We currently think that the round number is: 31 and that the turn number is 384.
WHAM: We currently think that the round number is: 31 and that the turn number is 384.

Latest WHAM did it next combat:

Code:
[385] Smut Orc Logging Camp
Encounter: smut orc jacker
Round 0: chef_rannos wins initiative!
Running ZLib version: r37 (current)
1 HP costs 6.667μ. ( 67 / 80 )
1 MP costs 8μ. ( 25 / 141 )
The string "/\/\^v^/\/\" is not an integer; returning 0 (zlib.ash, line 181)
The string "/\/\^v^/\/\" is not an integer; returning 0 (zlib.ash, line 182)
Running BatBrain version: 1.31.1 (current)
Running SmartStasis version: 3.18 (current)
Running WHAM version: 5.1 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 384.
WHAM: Checking to see if WHAM sould adjust the unknown_ml for smut orc jacker.
WHAM: No need to do anything with smut orc jacker.
WHAM: Setting up variables via BatBrain
Value of stat gain: 249.69μ
Value of stat gain: 249.69μ
ATT: 105 (94% × 26.49, death in 3)
DEF: 100 (8.59% × 2.18, win in 100)
HP: 99.75, Value: 249.69 μ, RES: 0
Parsed round number: 1
Building options...
Options built! (21 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 384.
WHAM: Current MP = 25 out of 141.
WHAM: You have no profitable MP restoratives.
WHAM: Current HP = 67 out of 80.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a smut orc jacker. Mafia considers that this monster has an attack of 105 or 105 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 100 or 100 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 95 or 95 when given a monster name.
WHAM: Your current ML-adjustment is: 30.
WHAM: Monster HP is 99.75.
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; 
Value of stat gain: 249.69μ
WHAM: Attack option chosen: skill 14003 (round 1, profit: -40)
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
Building custom WHAM actions...
Custom WHAM actions built! (0 actions)
Building custom actions...
Custom actions built! (0 actions)
WHAM: Stasis option chosen: skill 14023 (round 1, profit: -205.98)
Value of stat gain: 249.69μ
WHAM: Attack option chosen: skill 14003 (round 1, profit: -40)
This monster is not your huckleberry.
Stasis loop complete.
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 0.24 seconds.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: We currently think that the round number is: 1 and that the turn number is 384.
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 384.
Value of stat gain: 249.69μ
WHAM: Attack option chosen: skill 14003 (round 1, profit: -40)
WHAM: Stun option chosen: use 5750 (round 1, profit: -8.35)
Monster HP is 95 according to Mafia and 99.75 according to BatBrain
Queued: use 5750
Building options...
Options built! (20 actions)
Queued: skill 14003
Building options...
Options built! (20 actions)
Parsed round number: 1
Building options...
Options built! (21 actions)
WHAM: Evaluating the attack but not performing it took 0.27 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: use 5750
Building options...
Options built! (20 actions)
WHAM: We can't Saucesplash.
true, true, true, true, false
WHAM: Enqueueing Boil (macroid skill 14003). Estimated damage: 99.75.
Queued: skill 14003
Building options...
Options built! (20 actions)
WHAM: Successfully enqueued Boil.
WHAM: We are going to 2-shot with CSA obedience grenade and Boil.
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; use 5750; call batround; skill 14003; call batround; 
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos uses the CSA obedience grenade!
Round 2: smut orc jacker drops 5 attack power.
Round 2: smut orc jacker drops 5 defense.
Round 2: chef_rannos casts BOIL!
Round 3: smut orc jacker takes 110 damage.
Round 3: chef_rannos wins the fight!
You gain 5 hit points
You gain 5 Mana Points
You gain 30 Meat
You acquire an item: raging hardwood plank
You acquire an item: messy butt joint
You gain 12 Strengthliness
You gain 13 Mysteriousness
You gain a Mysticality point!
You gain 5 Chutzpah
Happened: use 5750
Happened: skill 14003
Parsed round number: 0
Look! You found 1 messy butt joint (50μ)!
Look! You found 1 raging hardwood plank (50μ)!
WHAM: Evaluating the attack and performing it took 1.45 seconds.
WHAM: We currently think that the round number is: 31 and that the turn number is 385.
WHAM: We currently think that the round number is: 31 and that the turn number is 385.
 
Last edited:

Winterbay

Active member
Well, it calculates it to do 99.75 damage because that is the HP of the monster. It then does 110 damage which makes monster_hp / damage be 0.9068 and the limit for stunning (due to trying to avoid rng-screwage with variable skill damage) is 0.9 meaning it thought stunning was a good idea. Now the variation in Jarlsberg's skills is a lot less than say Weapon of the Pastalord so perhaps that call should be modified with a variability factor but I'm not sure that the amount of variance (which is in batfactors) is available to scripts in any way without loading the entire bartfactors.txt and looking through it.
 

Magus_Prime

Well-known member
I'm a bit puzzled as to why WHAM is choosing to waste a Love Song when there are a zillion different options that would one-shot the monster. This is just after breaking the prism and pulling all items from storage. Why doesn't WHAM classify this monster as a huckleberry and go for massive overkill?:

Code:
[1143] The Red Queen's Garden
Encounter: beelephant
Round 0: Arbos wins initiative!
Running ZLib version: r37 (current)
1 HP costs 6.667μ. ( 885 / 885 )
1 MP costs 8μ. ( 607 / 1292 )
You have navel ring of navel gazing equipped: 0 damage, stun 0.5
You have V for Vivala mask equipped: 10.73 (10.73) damage, stun 0.33, oncrit
Running BatBrain version: /\/\^v^/\/\ (current)
Running SmartStasis version: 3.18 (current)
Running WHAM version: 5.1 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 1142.
WHAM: Checking to see if WHAM sould adjust the unknown_ml for Beelephant.
WHAM: No need to do anything with Beelephant.
WHAM: Setting up variables via BatBrain
bucket of honey (20.0 @ +35.0): 66μ * 27% = 17.82
reflection of a map (10.0 @ +35.0): 50μ * 13.5% = 6.75
Value of stat gain: 497.98μ
bucket of honey (20.0 @ +35.0): 66μ * 27% = 17.82
reflection of a map (10.0 @ +35.0): 50μ * 13.5% = 6.75
Value of stat gain: 497.98μ
ATT: 210 (3% × 2.82, death in 885)
DEF: 210 (97.73% × 89.79 (25), win in 2)
HP: 157, Value: 522.55 μ, RES: 0
Parsed round number: 1
Building options...
Options built! (270 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 1142.
WHAM: Current MP = 607 out of 1292.
WHAM: Your most profitable mp-restoring option is use 3697.
WHAM: Your most profitable mp-restoring option is use 3697.
WHAM: Your best MP restoring option available is: use 3697
WHAM: Current HP = 885 out of 885.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Beelephant. Mafia considers that this monster has an attack of 210 or 210 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 210 or 210 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 157 or 157 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 157.0.
WHAM: WHAM added the following to BatRound: if pastround 27; 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; 
bucket of honey (20.0 @ +35.0): 66μ * 27% = 17.82
reflection of a map (10.0 @ +35.0): 50μ * 13.5% = 6.75
Value of stat gain: 497.98μ
WHAM: Attack option chosen: use 3755 (round 1, profit: 50)
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; navel ring of navel gazing (0μ)0μ--50% stun chance
Building custom WHAM actions...
Custom WHAM actions built! (0 actions)
Building custom actions...
Custom actions built! (0 actions)
WHAM: Stasis option chosen: skill 3022 (round 1, profit: 6)
bucket of honey (20.0 @ +35.0): 66μ * 27% = 17.82
reflection of a map (10.0 @ +35.0): 50μ * 13.5% = 6.75
Value of stat gain: 497.98μ
WHAM: Attack option chosen: use 3755 (round 1, profit: 50)
This monster is not your huckleberry.
Stasis loop complete.
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 1.28 seconds.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: We currently think that the round number is: 1 and that the turn number is 1142.
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 1142.
bucket of honey (20.0 @ +35.0): 66μ * 27% = 17.82
reflection of a map (10.0 @ +35.0): 50μ * 13.5% = 6.75
Value of stat gain: 497.98μ
WHAM: Attack option chosen: use 3755 (round 1, profit: 50)
WHAM: No need to stun this monster
Monster HP is 157 according to Mafia and 157.0 according to BatBrain
Queued: use 3755
Building options...
Options built! (270 actions)
Parsed round number: 1
Building options...
Options built! (270 actions)
WHAM: Evaluating the attack but not performing it took 2.14 seconds.
WHAM: We can't Saucesplash.
false, false, false, true, false
WHAM: Enqueueing love song of smoldering passion (macroid use 3755). Estimated damage: 157.0.
Queued: use 3755
Building options...
Options built! (270 actions)
WHAM: Successfully enqueued love song of smoldering passion.
WHAM: We are going to 1-shot with love song of smoldering passion.
Constructed macro: scrollwhendone; sub batround; if pastround 27; 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; use 3755; call batround; 
Round 1: Arbos executes a macro!
Round 1: Arbos uses the love song of smoldering passion!
Round 2: beelephant takes 615 damage.
You gain 32 Mana Points
Round 2: Arbos wins the fight!
You gain 19 Mana Points
You acquire an item: reflection of a map
After Battle: Rocket's eyelids flutter as it dreams of endless lines of dancing universal symbols.
You gain 17 Beefiness
You gain 29 Magicalness
You gain 24 Chutzpah
Running ZLib version: r37 (current)
Running Character Info Toolbox version: 0.8
Happened: use 3755
Parsed round number: 0
Running ZLib version: r37 (current)
Look! You found 1 reflection of a map (50μ)!
WHAM: Evaluating the attack and performing it took 6.95 seconds.
WHAM: We currently think that the round number is: 31 and that the turn number is 1143.
WHAM: We currently think that the round number is: 31 and that the turn number is 1143.
Running Character Info Toolbox version: 0.8
 

Winterbay

Active member
"Not a huckleberry" basically means that the stasis-part of the script does not have anything to do. And overkilling is hard since BatBrain caps skill damage at monster_hp. It probably picked the cheapest option it had and depending on what a love song costs and your meatprmp the fact that it gained you 32MP may have had anything to do with it.
 
It's still trying to attack in AoJ...I was level 11 trying to open the hidden temple, and it did this all over my buffer. I thought attack was disabled in WHAM in AoJ?


Code:
Monster HP is 17 according to Mafia and 17.85 according to BatBrain
Queued: attack
Building options...
Options built! (24 actions)
Happened: attack
Parsed round number: 26
Building options...
Options built! (24 actions)
WHAM: Evaluating the attack but not performing it took 0.13 seconds.
WHAM: We can't Saucesplash.
true, true, true, true, false
WHAM: Enqueueing attack with your weapon (macroid attack). Estimated damage: 17.85.
Queued: attack
Building options...
Options built! (24 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 1-shot with attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; attack; call batround; 
Round 26: chef_rannos executes a macro!
Round 26: chef_rannos attacks!
You lose 1 hit point
Happened: attack
Parsed round number: 27
Building options...
Options built! (24 actions)
WHAM: Evaluating the attack and performing it took 12.05 seconds.
WHAM: Current monster HP is calculated to 17.85
WHAM: We currently think that the round number is: 27 and that the turn number is 681.
WHAM: We currently think that the round number is: 27 and that the turn number is 681.
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 27 and that the turn number is 681.
vampire collar (4.0 @ +75.0): 280μ * 7% = 19.6
Value of stat gain: 69.38μ
WHAM: Attack option chosen: attack (round 27, profit: 0)
WHAM: No need to stun this monster
Monster HP is 17 according to Mafia and 17.85 according to BatBrain
Queued: attack
Building options...
Options built! (24 actions)
Happened: attack
Parsed round number: 27
Building options...
Options built! (24 actions)
WHAM: Evaluating the attack but not performing it took 0.10 seconds.
WHAM: We can't Saucesplash.
true, true, true, true, false
WHAM: Enqueueing attack with your weapon (macroid attack). Estimated damage: 17.85.
Queued: attack
Building options...
Options built! (24 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 1-shot with attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; attack; call batround; 
Round 27: chef_rannos executes a macro!
Round 27: chef_rannos attacks!
Happened: attack
Parsed round number: 28
Building options...
Options built! (24 actions)
WHAM: Evaluating the attack and performing it took 12.48 seconds.
WHAM: Current monster HP is calculated to 17.85
WHAM: We currently think that the round number is: 28 and that the turn number is 681.
WHAM: We currently think that the round number is: 28 and that the turn number is 681.
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 28 and that the turn number is 681.
vampire collar (4.0 @ +75.0): 280μ * 7% = 19.6
Value of stat gain: 69.38μ
WHAM: Attack option chosen: attack (round 28, profit: 0)
WHAM: No need to stun this monster
Monster HP is 17 according to Mafia and 17.85 according to BatBrain
Queued: attack
Building options...
Options built! (24 actions)
Happened: attack
Parsed round number: 28
Building options...
Options built! (24 actions)
WHAM: Evaluating the attack but not performing it took 0.10 seconds.
WHAM: We can't Saucesplash.
true, true, true, true, false
WHAM: Enqueueing attack with your weapon (macroid attack). Estimated damage: 17.85.
Queued: attack
Building options...
Options built! (24 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 1-shot with attack with your weapon.
Constructed macro: scrollwhendone; sub batround; if pastround 29; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; endsub; attack; call batround; 
Round 28: chef_rannos executes a macro!
Round 28: chef_rannos attacks!
Happened: attack
Parsed round number: 29
Building options...
Options built! (24 actions)
WHAM: Evaluating the attack and performing it took 12.94 seconds.
WHAM: Current monster HP is calculated to 17.85
WHAM: We currently think that the round number is: 29 and that the turn number is 681.
WHAM: We currently think that the round number is: 29 and that the turn number is 681.
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 29 and that the turn number is 681.
WHAM: No valid attack options (Best option, 'attack', not good enough)
WHAM: No need to stun this monster
Monster HP is 17 according to Mafia and 17.85 according to BatBrain
WHAM: Your most profitable deleveling option is skill 14013.
Queued: skill 14013
Building options...
Options built! (24 actions)
WHAM: Your most profitable deleveling option is skill 14013.
WHAM: No valid attack options (Best option, 'use 518', not good enough)
Can't enqueue 'skill 14013': combat too long.
WHAM: Unable to delevel until you can kill the monster without it killing you. Try it yourself.
WHAM: Unable to determine a valid combat strategy. For your benefit here are the numbers for your combat options.
WHAM: Attack with your weapon: 17.85 potential damage (raw damage: 62.22) and a hitchance of 95.45%.
WHAM: Curdle: 17.85 potential damage (raw damage: 33.00) and a hitchance of 100.00%.
WHAM: Boil: 17.85 potential damage (raw damage: 110.00) and a hitchance of 100.00%.
WHAM: Chop: 17.85 potential damage (raw damage: 110.00) and a hitchance of 100.00%.
WHAM: Bake: 17.85 potential damage (raw damage: 11.00) and a hitchance of 100.00%.
WHAM: Freeze: 17.85 potential damage (raw damage: 110.00) and a hitchance of 100.00%.
WHAM: Slice: 17.85 potential damage (raw damage: 249.92) and a hitchance of 100.00%.
WHAM: Fry: 17.85 potential damage (raw damage: 249.92) and a hitchance of 100.00%.
WHAM: Grill: 17.85 potential damage (raw damage: 499.84) and a hitchance of 100.00%.
WHAM: Knob Goblin firecracker: 3.00 potential damage (raw damage: 3.00) and a hitchance of 100.00%.
WHAM: razor-sharp can lid: 2.50 potential damage (raw damage: 2.50) and a hitchance of 100.00%.
WHAM: magical mystery juice: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Knob Goblin seltzer: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Mountain Stream soda: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: wussiness potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: patchouli incense stick: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: inkwell: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: gob of wet hair: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Tom's of the Spanish Main Toothpaste: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: handful of sawdust: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Blend: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: chaos butterfly: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: procrastination potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: You now have the knowledge needed to go forward and be victorious
Round 29: chef_rannos executes a macro!
KoLmafia thinks it is round 30 but KoL thinks it is round 29
WHAM: Unable to figure out a combat strategy. Helpful information regarding your skills have been printed to the CLI
You're on your own, partner.
Click here to continue in the relay browser.


Mood swing complete.
Round 30: chef_rannos casts CURDLE!
KoLmafia thinks it is round 31 but KoL thinks it is round 30
Round 31: spooky vampire takes 66 damage.
Round 31: chef_rannos wins the fight!
You gain 4 hit points
You gain 5 Mana Points
You gain 5 Meat
You gain 2 Strengthliness
You gain 6 Magicalness
You gain 1 Sarcasm

A curdle fixed the combat at the last round.

I had to manually fight here, it kept trying attack. It also tried attack trying to find Mr. Alarm. And in Whitey's Grove...
 
Last edited:

Theraze

Active member
Well, my AoJ=0% hitchance suggested fix didn't get implemented, unfortunately. Which is actually what happens... you can still run attack, it just increments the round by one. Since I think Winterbay is using the BatBrain disallowance now, BatBrain suggesting attack as a valid option is something to report to zarqon there, not Winterbay here. Or you can keep popping my AoJ line into BatBrain manually. :)
 

xKiv

Active member
Well, my AoJ=0% hitchance suggested fix didn't get implemented, unfortunately. Which is actually what happens... you can still run attack, it just increments the round by one. Since I think Winterbay is using the BatBrain disallowance now, BatBrain suggesting attack as a valid option is something to report to zarqon there, not Winterbay here. Or you can keep popping my AoJ line into BatBrain manually. :)

But hitch-ance 0% would imply that you are getting through glancing blows, which doesn't happen in aOJ, right?
 

Theraze

Active member
Hmm... does it now? Didn't back when, but that might be how build_options is now calculating what used to be misses in build_options. I do know that I never had BatBrain suggest attack after I did that and I haven't heard about it suggesting it for anyone else after they've done it, but...
 

Winterbay

Active member
Well, if you used BatBrain in conjunction with WHAM the version before the bat-version of BatBrain forbade attacks per definition if you were in AoJ so that could've affected that.
 

Theraze

Active member
But we still got lots (well, some) reports of people with just the WHAM deny-attack getting AoJ attack round-sinks, and as far as I heard/experienced, none with the hitchance0 either before or after WHAM or BatBrain were updated. :)
 

Crowther

Active member
I messed up this weekend by letting the repair the shield generator script run unattended. It ate up all my turns on a day when I had time to play for once!

I'm thinking it would be nice if WHAM (or BatBrain) noticed I had a spooky little girl in my off-hand and considered getting hit to be very bad. Maybe by making HP super valuable when she's around?
 

Bale

Minion
That would be nice. WHAM could benefit from an emergency "kill monster without risking a single hit" function that it can use for things like Quantum Mechanics, Pufferfish and holding a spooky little girl.
 

stannius

Member
I messed up this weekend by letting the repair the shield generator script run unattended. It ate up all my turns on a day when I had time to play for once!

I'm thinking it would be nice if WHAM (or BatBrain) noticed I had a spooky little girl in my off-hand and considered getting hit to be very bad. Maybe by making HP super valuable when she's around?

Have you considered using a shield generator script that detects SLG failure? :D

ob-on-topic: WHAM still occasionally attempts to attack in AoJ. It seems to happen mostly in the daily dungeon.
 

Winterbay

Active member
That would be nice. WHAM could benefit from an emergency "kill monster without risking a single hit" function that it can use for things like Quantum Mechanics, Pufferfish and holding a spooky little girl.

I do agree, and there probably is a way of sorting opts so that can be done I just suck at coming up with good sort-commands :)
 
Well, if you used BatBrain in conjunction with WHAM the version before the bat-version of BatBrain forbade attacks per definition if you were in AoJ so that could've affected that.

:confused:

I tried adding attack to my "don't use" in the WHAM relay script, but that didn't stop it. Maybe I added it wrong, or it doesn't work for attack? Either way it'd be nice to figure out an easy way to avoid attack for AoJ that persists whenever I update scripts.
 

Mutantopia

New member
Hey there. Thanks to the authors for making WHAM (and BatBrain and SmartStasis and ZLib and...).

WHAM wasn't ever throwing my Operation Patriot Shield, which made me sad. So I looked into it, and apparently stun_option ignores single-round stuns (if they aren't funkslingable items). So I modified line 561 to add an exception for OPS' Throw Shield skill (7114):

Code:
		if (opt.stun < (opt.id == "skill 7114" || (foritem && have_skill($skill[ambidextrous funkslinging]) && contains_text(opt.id, "use")) ? 1 : 2))

so stun_option now considers Throw Shield worthwhile even though it's only a 1-turn stun.
 
Last edited:
Top