Mp cost: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Grotfang
mNo edit summary
Line 1: Line 1:
{{#vardefine:name|mp_cost}}
{{
{{#vardefine:return_type|int}}
#vardefine:name|mp_cost}}{{
#vardefine:return_type|int}}{{
 
FunctionPage|


{{FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Skills and Effects|
function_category=Skills and Effects|

Revision as of 20:29, 8 March 2010

needs(code_samples);

Function Syntax

int mp_cost(skill use_me )

  • use_me is the skill to check the cost of

Returns the current MP cost for the next cast of the given skill use_me with all current MP cost modifiers accounted for.