From NWN LexiconJump to navigationJump to search
WillSave(object, int, int, object)
Performs a Will Save check.
The creature that needs to roll a saving throw.
The difficulty check of the saving throw.
The source cause for the saving throw. (Default: OBJECT_SELF)
Does a Will 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!!
author: Tom Cassiotis, editor: Lilac Soul, Mistress