Aliases%weaponGetType( )
Parametersobject @target

    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


if( %weaponGetType( @n->eq->wielded ) == 'slash' )
\ "With one clean slash you slice open the vines blocking "
\ "your exit.", @n )