Difference between revisions of "Stun skill"

From Kolmafia
Jump to navigation Jump to search
imported>Darzil
(Created page with "{{ #vardefine:name|stun_skill}}{{ #vardefine:return_type|skill}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={{#var:name}}| aggregate={{#var:aggregate}}| ...")
 
imported>Bale
(Summon Love Gnats will not be a return value)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
return_also={{#var:return_also}}|
 
return_also={{#var:return_also}}|
 
}}|
 
}}|
function_description=Returns the skill the character class could use for stunning. If preference considerShadowNoodles is set to true, then it'll return $skill[ shadow noodles ] rather than $skill[ none ] if no other stun is available.|
+
function_description=Returns the skill the character class could use for stunning. If [[KoLmafia Properties|preference]] considerShadowNoodles is set to true, then it'll return $skill[ shadow noodles ] rather than $skill[ none ] if no other stun is available.|
 +
 
 +
needscode=yes|
 +
 
 +
see_also={{SeeAlso|use_skill|will_usually_dodge|expected_damage}}|
 +
more_info=This function will only return the character's class skill or Shadow Noodles. Other stunning non-class skills, like Summon Love Gnats will not be returned.|
 
}}
 
}}
 +
 +
 +
[[Category:In-combat Consulting]]

Latest revision as of 23:21, 20 May 2015

needs(code_samples);

Function Syntax

skill stun_skill()

Returns the skill the character class could use for stunning. If preference considerShadowNoodles is set to true, then it'll return $skill[ shadow noodles ] rather than $skill[ none ] if no other stun is available.

See Also

use_skill() | will_usually_dodge() | expected_damage()

More Information

This function will only return the character's class skill or Shadow Noodles. Other stunning non-class skills, like Summon Love Gnats will not be returned.