stun_skill()

From KoLMafia
Jump to: navigation, 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

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.