NWNWiki
Advertisement
NWNWiki
3,718
pages

The ItemPropertyOnMonsterHitProperties() NWScript command creates an on monster hit item property that can then be added to creature weapons. (These properties are often more potent than similar on-hit properties.)

Definition[]

item property ItemPropertyOnMonsterHitProperties (int nProperty, int nSpecial=0)

int nProperty
An IP_CONST_ONMONSTERHIT_* constant indicating the on-hit property.
int nSpecial
The 2DA row reference pertaining to the on-hit property.

Known bugs[]

  • The second parameter is ignored in all cases, and the first parameter is replicated instead. This causes the poison property to always be large scorpion venom and the disease to always be demon fever. Also, level drain and wounding are considered invalid as they try to reference non-existent rows in iprp_amount.2da.

See also[]

  • ItemPropertyOnHitProps()
Advertisement