Difference between revisions of "Turns per cast"

From Kolmafia
Jump to navigation Jump to search
imported>Grotfang
m
imported>Heeheehee
m (RFI answered.)
Line 20: Line 20:
  
 
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.}}
 
{{RFI|Was only able to verify opera mask; please check JEW hat and update this page as needed.}}

Revision as of 15:03, 27 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 and the jewel-eyed wizard hat into account, it does not account for the 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.