Mana cost modifier

From Kolmafia
Revision as of 17:59, 7 March 2010 by imported>StDoodle (Created page with '{{#vardefine:name|mana_cost_modifier}} {{#vardefine:return_type|int}} {{FunctionPage| name={{#var:name}}| function_category=Skills and Effects| function1={{Function| name={{#va…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



needs(code_samples);

Function Syntax

int mana_cost_modifier()

Returns the total amount of passive MP cost reduction available. Note that KoL limits this to -3 MP at most, so you should never see a number larger than 3 returned from this function.

CLI Equivalent

The CLI command "modref mana cost" can access the same information.

See Also


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:

  • Does this function check everything available, including the Festival of Jarlsberg?