Mana cost modifier: Difference between revisions

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…'
 
imported>StDoodle
No edit summary
Line 13: Line 13:
}}|
}}|


function_description=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.|
function_description=Returns the total amount of passive MP cost reduction available.|


needscode=yes|
needscode=yes|
Line 19: Line 19:
see_also={{SeeAlso|}}|
see_also={{SeeAlso|}}|
cli_equiv=The CLI command "modref mana cost" can access the same information.|
cli_equiv=The CLI command "modref mana cost" can access the same information.|
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).|
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?}}
{{RFI|Does this function check everything available, including the Festival of Jarlsberg?}}

Revision as of 19:16, 7 March 2010



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.

See Also

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?