IPGetIsBludgeoningWeapon(object)
From NWN Lexicon
Jump to navigationJump to searchChecks if an item is a bludgeoning weapon.
Parameters
- oItem
- Object to check whether is a bludgeoning weapon.
Description
Returns true if weapon is blugeoning (used for poison)
Remarks
Checks in the baseitems.2da file's WeaponType column, in the row index that is the item's base type. It does not check if the weapon has any additional damagetypes via itemproperties.
Returns FALSE if the item isn't a bludgeoning type weapon, and on error, e.g. if oItem isn't a valid object.
Requirements
#include "x2_inc_itemprop"
Version
1.61
See Also
functions: |
author: Lilac Soul