Difference between revisions of "Weapon type"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 1: Line 1:
{{#vardefine:name|weapon_type}}
+
{{
{{#vardefine:return_type|stat}}
+
#vardefine:name|weapon_type}}{{
 +
#vardefine:return_type|stat}}{{
  
{{FunctionPage|
+
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
 
function_category=Equipment|
 
function_category=Equipment|

Revision as of 21:18, 8 March 2010

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. If check_me is not a weapon, this function returns $stat[none].

See Also

weapon_hands()