Turns per cast: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with '{{#vardefine:name|turns_per_cast}} {{#vardefine:return_type|int}} {{FunctionPage| name={{#var:name}}| function_category=Skills and Effects| function1={{Function| name={{#var:na…'
 
imported>Grotfang
mNo edit summary
Line 1: Line 1:
{{#vardefine:name|turns_per_cast}}
{{
{{#vardefine:return_type|int}}
#vardefine:name|turns_per_cast}}{{
#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:30, 8 March 2010

needs(code_samples);

Function Syntax

int turns_per_cast(skill check_me )

  • check_me is the skill to check

Returns the number of turns of its corresponding effect you would get when casting check_me a single time.

Special

Note that while this function does take class weapons into account, it does not account for jewel-eyed wizard hat & opera mask.


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:

  • Was only able to verify opera mask; please check JEW hat and update this page as needed.