Difference between revisions of "Mana cost modifier"

From Kolmafia
Jump to navigation Jump to search
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…')
(No difference)

Revision as of 17:59, 7 March 2010



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?