Bug - Not A Bug Wiki says the proxy record field default for combat_percent is 0, but it returns 100 for no data

For example, Cobb's Knob Treasury does not have mafia data for the combat rate:

Mafia data file

or in the location overview in the GUI:

image.png


however,
Code:
ash $location[Cobb's Knob Treasury].combat_percent
returns 100. (this is with -26% combat chance)

Wiki says default is 0.0

1682444101196.png

This is mostly relevant for knowing if a zone is safe to spend adventures in when you have ways to exit combat for free (or things like using backups), so I believe returning 0 should be the safer option?
 

Ryo_Sangnoir

Developer
Staff member
Going by the code, if a zone is not present at all the default is "0", whereas if a zone is present with no data the default is "100".

I would rather keep it as it is (as it has been since ~2006), and instead add data for the unknown zones that we can check. This is useful information to have anyway.
 
Top