Turns per cast: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Grotfang
mNo edit summary
imported>Bale
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:


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


function1={{Function|
function1={{Function|
Line 20: 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.