loathers / autoscend

An ascension script for KoLMafia
Other
45 stars 70 forks source link

For wand, use clover #106

Closed taltamir closed 5 years ago

taltamir commented 5 years ago

Context

Expected/Desired Behavior

When it comes time to make the wand of nagamar, it should acquire a clover (pulling it if necessary) and use it on the castle basement to get the wand parts.

In exploathing there is actually the additional option of buying the wand. Although it is probably more efficient to buy a clover (20 rare isotopes instead of 30) and then spending 1 turn int castle basement.

Current Behavior

It buys and then pulls a "WA" and then a "ND".

The problem with doing the above are:

  1. it is significantly more expensive then a clover. Especially with price fluctations (I had once seen it spend 20k on it IIRC)
  2. it uses uses up 2 pulls instead of 1 pull like a clover would.

Failure Logs

Searching for "WA"...
Search complete.
Using cached search results for WA...
Purchasing WA (1 @ 644)...
Purchases complete.
Trying to pull 1 of WA
Pulling items from storage...
Searching for "ND"...
Search complete.
Using cached search results for ND...
Purchasing ND (1 @ 3,970)...
Purchases complete.
Trying to pull 1 of ND
Pulling items from storage...
Verifying ingredients for Wand of Nagamar (1)...
Creating 1 meat paste...
You acquire an item: meat paste
You lose 10 Meat
Successfully created meat paste (1)
Creating Wand of Nagamar (1)...
taltamir commented 5 years ago

I guess an argument could be made that pulling both WA and ND saves 1 adv, but it costs 1 pull to do so. 1 pull for 1 adv is a terrible tradeoff.

On the other hand if it waits until you are at the sorceress then the pull probably doesn't matter anymore. But it pulls when you reach the door, which could lead to detouring to grab digital key and space key.

Maybe just add a price check to WA and ND? and delay wand creation until you actually reach the sorceress?

Malibu-Stacey commented 5 years ago

Duplicate of #40