Bug - Fixed "Round X" ->"After Battle" transition not working with dreadsylvanian monsters

fredg1

Member
"Round X" ->"After Battle" transition not working with dreadsylvanian monsters

Extremely easy to summarize by using the logs:

fredg1_20190629.txt, with KoLmafia-19348.jar

[9010] Dreadsylvanian Woods
Encounter: Cold-Tail, Cat Hunter
Round 0: fredg1 wins initiative!
You acquire an effect: Chilled to the Bone (1)
Round 1: You lose 257 hit points
Round 1: fredg1 casts SAUCEGEYSER!
Round 2: cold werewolf takes 6852 damage.
Round 2: fredg1 wins the fight!
After Battle: Crooked Pussy purrs and does that thing cats do where he rubs a figure-eight around your ankles. (That's sort of like a dance.)
You acquire an item: Freddy Kruegerand
You acquire an item: Freddy Kruegerand
After Battle: A lusty Dreadsylvanian wench gives you 2 kisses on the cheek, whether or not that's your thing.
After Battle: You gain 367 Fortitude
After Battle: You gain 356 Magicalness
You gain a Mysticality point!
After Battle: You gain 675 Chutzpah
After Battle: Crooked Pussy takes advantage of the downtime to grab a few z's.
After Battle: Crooked Pussy looks around for unlocked windows and accessible vents.

[9011] Dreadsylvanian Woods [...]

fredg1_20190630.txt, with KoLmafia-19353.jar and ever since (only just realized that it happened, but this is the first appearance of the bug; happens even in the most recent build (19387))

[9304] Dreadsylvanian Village
Encounter: Nathan Morvell, who turned his water heater up too high
Round 0: fredg1 loses initiative!
Round 1: You lose 50 hit points
Round 1: Tollace is looking a little thin.
Round 1: fredg1 casts BECOME A BAT!
You acquire an effect: Bat-Adjacent Form (1)
Round 2: fredg1 casts SAUCEGEYSER!
Round 3: hot ghost takes 1947 damage.
Round 3: A strapping young stable boy with flowing raven locks gives you a kiss on the cheek, which is either delightful or confusing depending on your preferences, which we don't presume to judge.

[9305] Dreadsylvanian Village [...]

---------------------
KoLmafia doesn't register any stat gain/item drop gained from these fights and, while I didn't have a Cat Burglar on the 2nd example, I'm pretty sure it wouldn't have been registered either.

Basically, KoLmafia doesn't seem to understand that the fight ended.

Only seems to happens with dread MONSTERS (encountering a sausage goblin or a voting monster on those zones shows the "After Battle" text as normal)
 

Veracity

Developer
Staff member
Yeah, OK, that is "kiss" processing. That was one of the things that returns early when processing a <p>, but, with HTNL5, it should not. Will fix.
 
Top