Difference between revisions of "Turns per cast"

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>Bale
m
 
(3 intermediate revisions by 2 users not shown)
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|
 
  
 
function1={{Function|
 
function1={{Function|
Line 18: Line 19:
  
 
needscode=yes|
 
needscode=yes|
special=Note that while this function does take class weapons into account, it does not account for jewel-eyed wizard hat & opera mask.|
+
special=Note that while this function does take class weapons and the jewel-eyed wizard hat into account, it does not account for the opera mask.|
 
}}
 
}}
{{RFI|Was only able to verify opera mask; please check JEW hat and update this page as needed.}}
+
 
 +
[[Category:Skills and Effects]]

Latest revision as of 22:14, 21 May 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 and the jewel-eyed wizard hat into account, it does not account for the opera mask.