Bug - Waiting for Info Rain monster timers not reset in circumstance

Bale

Minion
When you encounter a Rain Monster immediately after using a Rain Man fax, it does not reset the counter!

Code:
Encounter: Rainy Fax Dreams on your Wedding Day
Encounter: lobsterfrogman
Round 0: bale loses initiative!
You lose 62 hit points
KoLmafia thinks it is round 2 but KoL thinks it is round 1
Round 2: bale casts WINK AT!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
Round 3: You point a finger at Reanimated Wrldwzrd, then at your opponent. Reanimated Wrldwzrd nods and begins calculating how much glow-juice he'll need to reanimate him.
Round 3: lobsterfrogman takes 2 damage.
You lose 61 hit points
Round 3: bale uses the Rain-Doh black box and uses the Rain-Doh indigo cup!
KoLmafia thinks it is round 4 but KoL thinks it is round 3
You acquire an item: Rain-Doh box full of monster
You gain 65 hit points
Round 4: lobsterfrogman takes 3 damage.
You lose 73 hit points
Round 4: bale casts STUFFED MORTAR SHELL!
KoLmafia thinks it is round 5 but KoL thinks it is round 4
Round 5: lobsterfrogman takes 2 damage.
You lose 61 hit points
Round 5: bale casts CANNELLONI CANNON!
KoLmafia thinks it is round 6 but KoL thinks it is round 5
Round 6: lobsterfrogman takes 240 damage.
Round 6: lobsterfrogman takes 400 damage.
Round 6: lobsterfrogman takes 2 damage.
Round 6: bale wins the fight!
After Battle: Laurenz Von Krankenschwester surveys the scene from your back, and gains 1 Experience.
You gain 8 Mana Points
You gain 108 Meat
After Battle: Zemzum performs an interpretive dance on the topic of loot discovery.
You acquire an item: barrel of gunpowder
After Battle: Reanimated Wrldwzrd drags your opponent away, muttering about how many liters of reanimating solution it will take to reanimate him.
After Battle: Reanimated Wrldwzrd mixes two liquids together, and smiles broadly as the resulting solution starts to glow green. (+8 Stats)
You gain 31 Strengthliness
You gain 62 Magicalness
You gain 29 Cheek

> ashq use_familiar(to_familiar(59))

Putting Reanimated Wrldwzrd the Reanimated Reanimator back into terrarium...
Taking Spinel Sun the Reassembled Blackbird out of terrarium...
Requests complete.

Casting Reptilian Fortitude 2 times...
You acquire an effect: Reptilian Fortitude (duration: 10 Adventures)
Reptilian Fortitude was successfully cast.
Casting Leash of Linguini 1 times...
You acquire an effect: Leash of Linguini (duration: 10 Adventures)
Leash of Linguini was successfully cast.
Casting Astral Shell 1 times...
You acquire an effect: Astral Shell (duration: 5 Adventures)
Astral Shell was successfully cast.

[254] The Black Forest
Encounter: storm cow
Round 0: bale loses initiative!
You lose 2 Mana Points
You lose 2 hit points
You lose 74 hit points
Round 1: bale casts SAUCEGEYSER!
Round 2: storm cow takes 458 damage.
Round 2: storm cow takes 2 damage.
Round 2: bale wins the fight!
After Battle: Laurenz Von Krankenschwester surveys the scene from your back, and gains 1 Experience.
You gain 8 Mana Points
After Battle: Zemzum whirls around picking up items, like a little couscous tornado.
You acquire an item: lightning milk
You gain 35 Strongness
You gain 49 Enchantedness
You gain a Mysticality point!
You gain 31 Roguishness
You can now equip a honeycap (and possibly other things).
You gain a Moxie point!
Encounter: And The Lightning Strikes...
You learned a new skill: Ball Lightning

> counters

Last semirare found 182 turns ago (on turn 72) in The Limerick Dungeon

Unexpired counters:
Rain Monster window end (7)
Fortune Cookie (10)
Romantic Monster window begin (14)
Romantic Monster window end (24)
 

lostcalpolydude

Developer
Staff member
This is hopefully fixed in 14558, though I didn't actually test it.

Normally the code that checks for special monsters runs at the start of a fight, and after those checks EncounterManager.ignoreSpecialMonsters is reset. Apparently that isn't being reset for Rain Man fights; maybe mafia doesn't think it's round 0 for some reason, but I thought special monsters from Rain Man were creating those counters before code was added to prevent that, and those counters being added should mean that the boolean is reset. Now that value is reset at the end of combat too, which should solve this issue.
 

Darzil

Developer
Yeah, I think there is something slightly wonky with it, maybe it's related in some way to it not getting an adventure number indicator in the logs. I guess it's the first spell we have that starts a fight.
 

Veracity

Developer
Staff member
Code:
cast 1 Rain Man
Encounter: Rainy Fax Dreams on your Wedding Day
Took choice 970/1: unknown
choice.php?pwd&whichchoice=970&whichmonster=1185&option=1&choice2=and+Fight%21
Encounter: ninja snowman assassin
Ooh. It would be nice to have a turn number on that, wouldn't it?
 
Top