Weapon type

From Kolmafia
Revision as of 02:17, 23 August 2010 by imported>PhilmASTErpLus (A few tests (Gnollish pie server, eggbeater, etc) tell me that weapons without stat requirements still yield stats based on their type (melee/ranged/mysticality weapon))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

stat weapon_type(item check_me )

  • check_me is the item to check

Returns the equip requirement stat for check_me, even if the weapon does not have any stat requirements. If check_me is not a weapon, this function returns $stat[none].

See Also

weapon_hands()