Stun skill

From Kolmafia
Jump to navigation Jump to search
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.