DoTrapSpike

From NWN Lexicon
Jump to navigationJump to search


DoTrapSpike(int)

Apply effects of spike trap on entering object.

void DoTrapSpike(
    int nDamage
);

Parameters

nDamage

The full damage that would be applied if no adjustments were made.


Description

Does a spike trap.

Reflex save allowed.



Remarks

Common uses are on a door or trigger. Effect it applied to the object returned by GetReflexAdjustedDamage to allow for saving throws to reduce the actual amount of damage that is dealt.


Requirements

#include " x0_i0_spells "


Version

???

See Also



author: Mistress, additional contributor: Tom Cassiotis