consult smartstasis.ash
attack with weapon
consult smartstasis.ash
skill throw shield
attack with weapon
skill throw shield
consult smartstasis.ash
attack with weapon
@redwulf: I'm sure the shield isn't in batfactors yet.
Fixed. This is no longer true.
If you want mafia to abort the script rather than automation when it encounters KoL combat macro errors, that would be a feature request.
Perhaps a better solution would be to only abort automation for KoL combat errors if they happen outside a consult script, allowing the consult script itself the option of handling the error. That would actually completely solve all of these issues, albeit in a fairly ugly way. SS could submit a limited-use action with a "repeat" and KoL would execute it until it ran out -- then print an error. Since mafia wouldn't abort, BB would rebuild options and combat would continue as though an actual smart availability check were built in. It's rather inelegant to use KoL errors effectively as repeat conditions, but it's arguably better for users as it allows automation to continue.
I may actually make this feature request if you don't.
[22517] Dungeons of Doom
Encounter: swarm of killer bees
Strategy: /Users/dougw/Library/Application Support/KoLmafia/ccs/default.ccs [default]
Round 0: gdunge wins initiative!
Profit per round: ActionProfitDamageOtherbase; Rock Lobster (0μ)65.34μ0 (8.17) Actual: 8.17 (0 μ/dmg)MP: 8.17
Monster: Swarm of Killer Bees, ATT: 69, DEF: 58, HP: 85, Value: 231.92
You will die in 8410 rounds.
Your attack will kill the monster in 1 rounds.
Round 1: gdunge executes a macro!
Round 1: gdunge uses the spectre scepter!
You lose 5 hit points
You acquire an effect: Somewhat Poisoned (duration: 10 Adventures)
Round 2: gdunge executes a macro!
Round 2: gdunge uses the spectre scepter!
You gain 5 hit points
Round 3: gdunge uses the spectre scepter!
You gain 4 hit points
You gain 18 Muscularity Points
Round 4: gdunge uses the spectre scepter!
You gain 4 hit points
Round 5: gdunge uses the spectre scepter!
Round 6: gdunge uses the spectre scepter!
Round 7: gdunge uses the spectre scepter!
Round 8: gdunge uses the spectre scepter!
You gain 4 hit points
You gain 16 Muscularity Points
Round 9: gdunge uses the spectre scepter!
You gain 26 Muscularity Points
Round 10: gdunge uses the spectre scepter!
Round 11: gdunge uses the spectre scepter!
Round 12: gdunge uses the spectre scepter!
You gain 5 hit points
Round 13: gdunge uses the spectre scepter!
You gain 28 Muscularity Points
Round 14: gdunge wins the fight!
You acquire an item: baby killer bee
You gain 10 Strongness
You gain 4 Enchantedness
You gain 4 Smarm
Look! You found 1 baby killer bee (76μ)!
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
.
.
.
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
You're dangerously poisoned! Will try to remove if possible.
KoLmafia declares world peace.
You're on your own, partner.
Using 1 anti-anti-antidote...
Finished using 1 anti-anti-antidote.
Searching for "anti-anti-antidote"...
Search complete.
Purchasing anti-anti-antidote (1 @ 30)...
You acquire an item: anti-anti-antidote
You spent 30 Meat
Purchases complete.
Does look like it's a BatBrain bug, since that's the BatBrain poison message...
[2247] Giant's Castle
Encounter: Raver Giant
Strategy: /home/paulw/.kolmafia/ccs/default.ccs [default]
Round 0: woodhams wins initiative!
Round 1: woodhams executes a macro!
Round 1: woodhams uses the Gnomitronic Hyperspatial Demodulizer!
Round 2: woodhams uses the Gnomitronic Hyperspatial Demodulizer!
Round 3: woodhams executes a macro!
Round 3: woodhams uses the Gnomitronic Hyperspatial Demodulizer!
KoLmafia thinks it is round 4 but KoL thinks it is round 2
Round 4: woodhams executes a macro!
Round 4: woodhams uses the Gnomitronic Hyperspatial Demodulizer!
KoLmafia thinks it is round 5 but KoL thinks it is round 2
Round 5: woodhams executes a macro!
Round 5: woodhams uses the Gnomitronic Hyperspatial Demodulizer!
KoLmafia thinks it is round 6 but KoL thinks it is round 2
Round 6: woodhams executes a macro!
........
[2255] Icy Peak
Encounter: upgraded ram
Strategy: /home/paulw/.kolmafia/ccs/default.ccs [default]
Round 0: woodhams wins initiative!
1 MP costs 8.0μ.
1 HP costs 10.0μ.
ram horns (5.0 @ +42.0): 55μ * 7.1% = 3.905
ram stick (5.0 @ +42.0): 120μ * 7.1% = 8.52
Ram's Face Lager (30.0 @ +42.0): 55μ * 42.6% = 23.43
Value of stat gain: 286.88μ
Factoring in cup of infinite pencils: 27.5 damage,
Profit per round: ActionProfitDamageOtherbase; cup of infinite pencils; Hobo Monkey (75μ)75μ27.5 (-2.73 μ/dmg)
Parsed round number: 1
Building options...
Options built! (91 actions)
ram horns (5.0 @ +42.0): 55μ * 7.1% = 3.905
ram stick (5.0 @ +42.0): 120μ * 7.1% = 8.52
Ram's Face Lager (30.0 @ +42.0): 55μ * 42.6% = 23.43
Value of stat gain: 286.88μ
Monster: Upgraded Ram, ATT: 108, DEF: 97, HP: 97, Value: 700.76
You will die in 1155 rounds.
Your attack will kill the monster in 1 rounds.
Building custom actions...
Custom actions built! (0 actions)
Stasis action chosen: attack
Top of the stasis loop.
Executing macro: scrollwhendone; sub batround; endsub; sub batsub1; attack; call batround; endsub; call batsub1; repeat && (!hpbelow 229.0 && hpbelow 297 && !mpbelow 106.0 && !pastround 28 && !match "hands you some Meat"); if hpbelow 30; abort "BatBrain abort: Danger, Will Robinson"; endif;
Round 1: woodhams executes a macro!
Round 1: woodhams attacks!
Round 2: woodhams wins the fight!
You gain 309 Meat
You acquire an item: ram stick
You gain 13 Strengthliness
You gain 8 Mysteriousness
You gain 8 Chutzpah
Parsed round number: 2
Look! You found 1 ram stick (120μ)!
Building options...
Options built! (87 actions)
Stasis action chosen: attack
Top of the stasis loop.
Executing macro: scrollwhendone; sub batround; endsub; sub batsub1; attack; call batround; endsub; call batsub1; repeat && (!hpbelow 229.0 && hpbelow 297 && !mpbelow 106.0 && !pastround 28 && !match "hands you some Meat"); if hpbelow 30; abort "BatBrain abort: Danger, Will Robinson"; endif;
Parsed round number: 0
Building options...
Options built! (87 actions)
Stasis action chosen: use 2
Stasis loop complete.
SmartStasis complete.
[2274] Icy Peak
Encounter: Knott Yeti
Strategy: /home/paulw/.kolmafia/ccs/default.ccs [default]
Round 0: woodhams wins initiative!
1 MP costs 8.0μ.
1 HP costs 10.0μ.
yeti fur (30.0 @ +40.0): 92μ * 42.0% = 38.64
Value of stat gain: 278.91μ
Profit per round: ActionProfitDamageOtherbase; Hobo Monkey (75μ)75μ--
Parsed round number: 1
Building options...
Options built! (91 actions)
yeti fur (30.0 @ +40.0): 92μ * 42.0% = 38.64
Value of stat gain: 278.91μ
Monster: Knott Yeti, ATT: 105, DEF: 93, HP: 90, Value: 890.88
You will die in 654 rounds.
Your attack will kill the monster in 1 rounds.
Building custom actions...
Custom actions built! (0 actions)
Stasis action chosen: use 1316
Top of the stasis loop.
Executing macro: scrollwhendone; sub batround; if haseffect 264 || haseffect 283 || haseffect 284; abort "BatBrain abort: poisoned"; endif; endsub; sub batsub1; use 1316; call batround; endsub; call batsub1; repeat hascombatitem 1316 && (!hpbelow 361.0 && hpbelow 375 && !mpbelow 143.0 && !pastround 28 && !match "hands you some Meat"); if hpbelow 38; abort "BatBrain abort: Danger, Will Robinson"; endif;
Round 1: woodhams executes a macro!
Round 1: woodhams uses the facsimile dictionary!
Round 2: woodhams uses the facsimile dictionary!
You gain 53 Meat.
Parsed round number: 2
Building options...
Options built! (91 actions)
Stasis action chosen: use 1316
This monster is not your huckleberry.
Stasis loop complete.
Executing macro: scrollwhendone; sub batround; endsub; skill 3004; call batround;
Round 3: woodhams executes a macro!
Round 3: woodhams casts ENTANGLING NOODLES!
Parsed round number: 4
Building options...
Options built! (90 actions)
SmartStasis complete.
Round 4: woodhams attacks!
Round 5: woodhams wins the fight!
You gain 499 Meat
You gain 12 Muscleboundness
You gain 9 Wizardliness
You gain 8 Sarcasm
Requests complete.
[ default ]
consult SmartStasis.ash
attack with weapon