zarqon
Well-known member
The appearance_rates() function could be made much more reliable if it were to correctly account for monsters with 0% appearance rates in the zone.
My combat queue for the Haunted Bathroom is as follows: toilet papergeist; claw-foot bathtub; toilet papergeist; malevolent hair clog; cosmetics wraith
This results in appearance rates of infinity!
I seem to recall that wandering monsters (of which there are increasingly more) likely produce the same effect.
My combat queue for The Laugh Floor is: Carbuncle Top; Victor the Insult Comic Hellhound; Pr Imp; CH Imp; BL Imp
All of the monsters are listed as having a sum -100% chance of occurring.
My combat queue for the Throne Room is simply: Aquagoblin
The appearance rate of the King should probably be listed as 0% until such time as mafia starts trying to account for special cases. But that aside, it does show that appearance rates well over 100% are occurring, which should be impossible.
EDIT: EXTRA CREDIT! It would be super cool if, while fixing this, appearance_rates(true) were also made to treat banished monsters as having an appearance rate of 0.
My combat queue for the Haunted Bathroom is as follows: toilet papergeist; claw-foot bathtub; toilet papergeist; malevolent hair clog; cosmetics wraith
This results in appearance rates of infinity!
> ash appearance_rates($location[the haunted bathroom],true)
Returned: aggregate float [monster]
claw-foot bathtub => ∞
Guy Made of Bees => 0.0
malevolent hair clog => ∞
none => 25.0
toilet papergeist => ∞
I seem to recall that wandering monsters (of which there are increasingly more) likely produce the same effect.
My combat queue for The Laugh Floor is: Carbuncle Top; Victor the Insult Comic Hellhound; Pr Imp; CH Imp; BL Imp
> ash appearance_rates($location[the laugh floor],true)
Returned: aggregate float [monster]
BL Imp => -33.333333333333336
Carbuncle Top => 0.0
CH Imp => -33.333333333333336
Larry of the Field of Signs => 0.0
none => 0.0
Pr Imp => -33.333333333333336
Victor the Insult Comic Hellhound => 0.0
All of the monsters are listed as having a sum -100% chance of occurring.
My combat queue for the Throne Room is simply: Aquagoblin
> ash appearance_rates($location[throne room],true)
Returned: aggregate float [monster]
Knob Goblin King => 400.0
none => 0.0
The appearance rate of the King should probably be listed as 0% until such time as mafia starts trying to account for special cases. But that aside, it does show that appearance rates well over 100% are occurring, which should be impossible.
EDIT: EXTRA CREDIT! It would be super cool if, while fixing this, appearance_rates(true) were also made to treat banished monsters as having an appearance rate of 0.
Last edited: