Numeric modifier

From Kolmafia
Revision as of 17:47, 17 March 2010 by imported>StDoodle
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

float numeric_modifier(string modifier_name )

float numeric_modifier(string check_me ,string modifier_name )

float numeric_modifier(item check_me ,string modifier_name )

float numeric_modifier(effect check_me ,string modifier_name )

float numeric_modifier(skill check_me ,string modifier_name )

  • check_me is the string, item, effect or skill to check
  • modifier_name is the modifier to check

Returns your current modifier total for modifier_name, or the amount of modification from check_me if specified.


float numeric_modifier(familiar buddy ,string check_me ,int integer ,item some_item )

  • buddy is the familiar to check
  • check_me is the modifier to check
  • integer is ???
  • some_item is ???

I have no idea how this version of numeric_modifier() works; please help.

CLI Equivalent

The CLI command "modtrace" gives access to the same information when the correct parameters are specified.


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:

  • Help! I have no idea how the familiar version works!