Returns the the type of the weapon. The type may be any one of the following weapon types:
acid deadlyPoison pierce bite drainLife poison bludgeon electric positiveEnergy breath fire slash claw hit smash cold mental sting crush negativeEnergy whip
Example:
if( %weaponGetType( @n->eq->wielded ) == 'slash' ) { %echoTo( \ "With one clean slash you slice open the vines blocking " \ "your exit.", @n ) } endif |