Mana cost modifier

From Kolmafia
Revision as of 22:58, 5 January 2011 by imported>Bale (combat_mana_cost_modifier r8877)
(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. This includes all modifiers such as Festival of Jarlsberg.

CLI Equivalent

The CLI command "modtrace mana cost" provides a more detailed display.

See Also

combat_mana_cost_modifier()

More Information

See Skill MP Cost Modifiers 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).