loathers / autoscend

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

wasting healing items and MP on many tongues of the walrus when Cannelloni Cocoon would do #120

Closed mattgiltaji closed 4 years ago

mattgiltaji commented 4 years ago

Context

cc snapshot

Expected/Desired Behavior

When restoring MP, use Cannelloni Cocoon if possible because it is the most MP efficient way to heal.

Current Behavior

What is the current behavior?

It is casting tongue of the walrus more than two times (so exceeding the MP cost of cocoon) and disco naps and using healing items like filthy poultices to heal so I ran out of items to use on the shadow.

Logs

sytras_20191013.txt

macgregor commented 4 years ago

I added a reserve to beta for gauze and filthy poltice, hopefully that helps with the shadow issue. i also increased some log output to try to debug the over use of tongue stuff. please send me a new log when you get a chance.

mattgiltaji commented 4 years ago

New log sytras_20191014.txt

macgregor commented 4 years ago

@mattgiltaji new logging didnt make it in to your log. can you make sure you are up to date (svn update autoscend) and then turn on debug logging: set auto_debug=true

You shouldnt need to set auto_debug, but if you turn it on and are up to date i should definitely get the logs i need.

mattgiltaji commented 4 years ago

This logfile is a bit heftier from the debug: sytras_20191015.txt

macgregor commented 4 years ago

Perfect, its got the logs i need. ill analyze them when i have a chance. Thanks.

macgregor commented 4 years ago

@mattgiltaji I merged some fixes to beta, let me know if things work better now.

mattgiltaji commented 4 years ago

It seems a little better in that it is casting disco naps as well as tongues, but still not using cocoon. I turned the debug logging on halfway through when i realized it was still happening.

` Target hp => 608 - Considering restore options at 297/608 HP with 1162/1162 MP

Active Negative Effects => aggregate boolean [effect] Using skill tongue of the walrus as restore.

cast 1 Tongue of the Walrus You gain 33 hit points

Using skill tongue of the walrus as restore.

cast 1 Tongue of the Walrus You gain 33 hit points

Using skill tongue of the walrus as restore.

cast 1 Tongue of the Walrus You gain 40 hit points

Using skill tongue of the walrus as restore.

cast 1 Tongue of the Walrus You gain 39 hit points

Using skill tongue of the walrus as restore.

cast 1 Tongue of the Walrus You gain 33 hit points

Using skill tongue of the walrus as restore.

cast 1 Tongue of the Walrus You gain 35 hit points

Using skill disco nap as restore.

cast 1 Disco Nap You gain 40 hit points

Using skill disco nap as restore.

cast 1 Disco Nap You gain 40 hit points

Using skill disco nap as restore.

cast 1 Disco Nap You gain 40 hit points`

sytras_20191020.txt