GetSlashingWeapon(object)

Returns TRUE if the item is a slashing weapon.

int GetSlashingWeapon(
    object oItem
);

Parameters

oItem

Item to be determined.


Description

This function returns TRUE if the given object is slashing weapon, FALSE otherwise.



Remarks

This function is not compatible with custom content as its based on base item type.

The following weapons are considered to be slashing by this function:

Requirements

#include "x2_i0_spells"


Version

???

See Also

functions:  IPGetIsBludgeoningWeapon | GetMeleeWeapon | GetBaseItemType
constants:  BASE_ITEM_*
categories:  Get Data From Object Functions


author: ShaDoOoW, editor: Mistress