Get power: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Slyz
Created page with '{{ #vardefine:name|get_power}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function_category=Item Management| function1={{Function| name={{#var:name}}| a…'
 
imported>Slyz
mNo edit summary
Line 16: Line 16:
}}|
}}|


function_description=Returns the power of the item {{pspan|it}}|
function_description=Returns the power of the item {{pspan|it}} or 0 if the item doesn't have a power|


}}
}}

Revision as of 18:54, 14 April 2010

Function Syntax

int get_power(item it )

  • it is the item to check for.

Returns the power of the item it or 0 if the item doesn't have a power