Mana cost modifier: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Bale
yes
Line 15: Line 15:
}}|
}}|


function_description=Returns the total amount of passive MP cost reduction available.|
function_description=Returns the total amount of passive MP cost reduction available. This includes all modifiers such as Festival of Jarlsberg.|


needscode=yes|
needscode=yes|
Line 23: Line 23:
more_info=See [http://kol.coldfront.net/thekolwiki/index.php/Skill_MP_Cost_Modifiers the Coldfront Wiki] for further info on how MP reducers stack.|
more_info=See [http://kol.coldfront.net/thekolwiki/index.php/Skill_MP_Cost_Modifiers the Coldfront Wiki] for further info on how MP reducers stack.|
}}
}}
{{RFI|Does this function check everything available, including the Festival of Jarlsberg?}}

Revision as of 18:54, 20 March 2010

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 "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).