ReflexSave
From NWN Lexicon
Jump to navigationJump to searchReflexSave(object, int, int, object)
Performs a ReflexSave check.
int ReflexSave(
object oCreature,
int nDC,
SAVING_THROW_TYPE_NONE,
object oSaveVersus = OBJECT_SELF
);
object oCreature,
int nDC,
SAVING_THROW_TYPE_NONE,
object oSaveVersus = OBJECT_SELF
);
Parameters
oCreature
The creature that needs to roll a saving throw.
nDC
The difficulty check of the saving throw.
nSaveType
oSaveVersus
The source cause for the saving throw. (Default: OBJECT_SELF)
Description
Does a Reflex Save check for the given DC.
Returns 0 if the saving throw roll failed, 1 if the saving throw roll succeeded and 2 if the target was immune to the save type specified.
Note: If used within an Area of Effect Object Script (On Enter, OnExit, OnHeartbeat), you MUST pass GetAreaOfEffectCreator() into oSaveVersus!!
Version
1.61
See Also
functions: | |
constants: |
author: Tom Cassiotis, editor: Lilac Soul, Mistress