+sinfo Functions

From Serenity : The Wiki
Revision as of 21:25, 16 March 2010 by Otrere (talk | contribs) (adding helpfile tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

+sinfo functions

Code Functions are, generally, only useful to coders.

getskill(<target>,<skill>) - Returns the adjusted skill or attribute.
getbaseskill(<target>,<skill>) - Returns the base skill or attribute.
hasfeat(<target>,<feat>) - Returns 1 if target has feat, else 0.
hasskills(<target>) - Returns 1 is target has skills, else 0.
hstatus(<target>) - Returns health status of a target.
isarmor(<target>) - Returns 1 if target is armour, else 0.
isweapon(<target>) - Returns 1 if target is a weapon, else 0.