Mana cost modifier

From Kolmafia
Revision as of 02:35, 17 March 2010 by imported>StDoodle
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.

CLI Equivalent

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

More Information

See the Coldfront Wiki for further info on how MP reducers stack.

Special

Most equipment and effects only allow up to -3 MP total, so the sum of your current effects may not match the actual amount of MP reduction (and therefore the value of this function).


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?