Appearance rates: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with '{{#vardefine:name|appearance_rates}} {{#vardefine:return_type|float [monster]}} {{#vardefine:aggregate|yes}} {{FunctionPage| name={{#var:name}}| function_category=CATEGORY| fun…'
 
imported>StDoodle
mNo edit summary
Line 5: Line 5:
{{FunctionPage|
{{FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=CATEGORY|
function_category=Adventuring|


function1={{Function|
function1={{Function|

Revision as of 14:20, 4 March 2010



needs(code_samples);

Function Syntax

float [monster] appearance_rates(location place )

  • place is the adventuring location to parse

Returns a map, keyed by monster, with the appearance rate percentages as decimal values (ie a 30% rate monster has a value of 30.0). Bosses, semirare encounters, and other one-time-only monsters have a value of 0.0; ultra-rare monsters have a negative value. Does not account for combat rate modifiers, olfaction, etc.


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific questions have been raised:

  • Not logged in value?
  • How are ultra-rare numbers arrived at?