Difference between revisions of "Skills and Effects"
Jump to navigation
Jump to search
imported>MagiNinjA m (correcting redirect; delete other one?) |
imported>StDoodle |
||
Line 1: | Line 1: | ||
− | + | {{Flink|boolean|have_skill|skill|desc=Reports if you currently have access to the specified skill.}} | |
+ | {{Flink|int|have_effect|effect|desc=Returns the number of turns your character has of the specified effect (does not cover intrinsics).}} | ||
+ | {{Flink|int|mp_cost|skill|desc=Returns the MP cost of the specified skill (0 for passives); accounts for current MP reduction effects.}} | ||
+ | {{Flink|int|mana_cost_modifier|desc=Returns the amount of MP reduction available.}} | ||
+ | {{Flink|int|turns_per_cast|skill|desc=Returns the number of turns each cast of the specified skill will give you.}} | ||
+ | {{Flink|boolean|use_skill|int|skill|{{opt|string}}|desc=Casts a given skill as many times as specified, optionally on a specified target (as applicable).}} | ||
+ | {{Flink|boolean|restore_hp|int|desc=Uses KoLmafia's current settings to restore the specified amount of HP.}} | ||
+ | {{Flink|boolean|restore_mp|int|desc=Uses KoLmafia's current settings to restore the specified amount of MP.}} |
Revision as of 03:01, 2 March 2010
boolean have_skill( skill )
Reports if you currently have access to the specified skill.
Returns the number of turns your character has of the specified effect (does not cover intrinsics).
int mp_cost( skill )
Returns the MP cost of the specified skill (0 for passives); accounts for current MP reduction effects.
Returns the amount of MP reduction available.
Returns the number of turns each cast of the specified skill will give you.
boolean use_skill( int, skill, [string] )
Casts a given skill as many times as specified, optionally on a specified target (as applicable).
boolean restore_hp( int )
Uses KoLmafia's current settings to restore the specified amount of HP.
boolean restore_mp( int )
Uses KoLmafia's current settings to restore the specified amount of MP.