Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some small fixes #249

Merged
merged 1 commit into from
Jun 24, 2019
Merged

Some small fixes #249

merged 1 commit into from
Jun 24, 2019

Conversation

Malibu-Stacey
Copy link
Contributor

@Malibu-Stacey Malibu-Stacey commented Jun 23, 2019

powerLevelAdjustment() should only update sl_powerLevelLastLevel when you've actually spent adventures powerlevelling otherwise it's always being set to my_level() after you level up which makes it useless for anything.
Invert result of test for Even More Elemental Wards when figuring out whether to delay the haunted kitchen or not (as Ed).
Use the priceless diamond if we have one rather than meat to buy the Red Zeppelin ticket.
Add workaround for KoL/KoLMafia issue -> https://kolmafia.us/showthread.php?23742 so Ed knows what item Shen is asking for the first time you speak to him. (really closes #7)
Add some more stuff to the equip data files.

Edit: added another change. I noticed that slAdv isn't setting nextAdventure but slAdvBypass does. This is to fix things like the following:

use 1 A-Boo clue
Preference sl_aboopending changed from 0 to 687
Visiting The Servants' Quarters
Putting your Priest to work
Current servant: Neamut, the Priest (lvl. 20, 418 xp)
Visiting The Servants' Quarters
Putting your Cat to work
Current servant: Makasebheet, the Cat (lvl. 17, 319 xp)
> Starting preadventure script...

equip acc3 Talisman o' Namsilat
> Pre Adventure at Inside the Palindome done, beep.
Preference sl_disableAdventureHandling changed from false to true
Preference sl_edCombatHandler changed from (lashofthecobra) to 
> Starting Ed Battle at A-Boo Peak
Preference nextAdventure changed from Inside the Palindome to A-Boo Peak
> Preadventure skipped by standard adventure handler.
Preference lastAdventure changed from Inside the Palindome to A-Boo Peak

[688] A-Boo Peak
Preference lastEncounter changed from Drab Bard to The Horror...
Encounter: The Horror...
Took choice 611/1: 1 spooky damage, 1 cold damage
choice.php?whichchoice=611&option=1&pwd
Encounter: The Horror...
Preference booPeakProgress changed from 90 to 88
You lose 1 hit point
You lose 1 hit point
Took choice 611/1: 1 spooky damage, 1 cold damage
choice.php?whichchoice=611&option=1&pwd
Encounter: The Horror...
Preference booPeakProgress changed from 88 to 84
You lose 1 hit point
You lose 1 hit point
Took choice 611/1: 8 spooky damage, 10 cold damage
choice.php?whichchoice=611&option=1&pwd
Encounter: The Horror...
Preference booPeakProgress changed from 84 to 78
You lose 7 hit points
You lose 9 hit points
Took choice 611/1: 19 spooky damage, 24 cold damage
choice.php?whichchoice=611&option=1&pwd
Encounter: The Horror...
Preference booPeakProgress changed from 78 to 70
You lose 19 hit points
You lose 23 hit points
Took choice 611/1: 37 spooky damage, 48 cold damage
choice.php?whichchoice=611&option=1&pwd
Preference booPeakProgress changed from 70 to 68
You lose 37 hit points
You lose 47 hit points
> Postadventure skipped by standard adventure handler.
Preference sl_aboopending changed from 687 to 0

That log is from previous run but I saw it doing the same thing in the run I'm testing currently. The Talisman o' Namsilat replacing the ghost of a necklace wasn't enough to cause an early failure in The Horror this time however (and I'd been meaning to investigate this).

powerLevelAdjustment() should only update sl_powerLevelLastLevel when
you've actually spent adventures powerlevelling
Invert result of test for Even More Elemental Wards when figuring out whether to
delay the haunted kitchen or not
Use the priceless diamond if we have one rather than meat to buy the Red
Zeppelin ticket
add workaround for KoL/KoLMafia issue ->
https://kolmafia.us/showthread.php?23742 so Ed knows what item Shen is
asking for the first time you speak to him.
Add some more stuff to the equip data files.

make slAdv set nextAdventure same as slAdvBypass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parse first Shen event as Ed
2 participants