Weapon hands

From Kolmafia
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

int weapon_hands(item check_me )

  • check_me is the item to check

Returns the number of hands required for a weapon. Everything else, including off-hand items, returns 0. Note that while weapons jokingly labeled as "3-handed" in KoL are actually 2-handed in reality, this function will return 3.

See Also

weapon_type()