Modifier Functions

From Kolmafia
Revision as of 17:16, 17 March 2010 by imported>StDoodle (Created page with '<p>These functions allow access to the raw modifiers known to KoLmafia.</p> <p>For more information on what modifiers exist, please see Modifiers.</p> {{flink|boolean|boolean…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

These functions allow access to the raw modifiers known to KoLmafia.

For more information on what modifiers exist, please see Modifiers.

boolean boolean_modifier( string )

boolean boolean_modifier( string, string )

boolean boolean_modifier( item, string )

Access to boolean modifiers.

class class_modifier( string, string )

class class_modifier( item, string )

Access to class modifiers (is this just a shortcut to the string modifier for "class"?)

effect effect_modifier( string, string )

effect effect_modifier( item, string )

Access to effect modifiers (is this just a shortcut to the string modifier for "effect"?)

float numeric_modifier( string )

float numeric_modifier( string, string )

float numeric_modifier( item, string )

float numeric_modifier( effect, string )

float numeric_modifier( skill, string )

float numeric_modifier( familiar, string, int, item )

Access to numeric modifiers.

stat stat_modifier( effect, string )

Access to stat modifiers (is this just a shortcut to the string modifier for "stat tuning"?)

string string_modifier( string )

string string_modifier( string, string )

Access to string modifiers.


Attention KoLmafia Experts!

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

The following specific question has been raised:

  • I'm not sure how these are used, so I didn't collapse definitions using optional parameters;
    If you know which is which, please make those edits.