WillSave(object, int, int, object)
Performs a Will Save check.
int WillSave( object oCreature, int nDC, int nSaveType = SAVING_THROW_TYPE_NONE, object oSaveVersus = OBJECT_SELF );
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!!
|functions:||GetWillSavingThrow | SetWillSavingThrow | FortitudeSave | ReflexSave|
|categories:||Saving Throw Functions|
author: Tom Cassiotis, editor: Lilac Soul, Mistress