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 GetEnteringObject().

nDamage is sent through GetReflexAdjustedDamage() to allow for saving throws to reduce the actual amount of damage that is dealt.


Requirements

#include "x0_i0_spells"


Version

???

See Also

categories:  Spells Functions

author: Mistress, additional contributor: Tom Cassiotis