GetEpicSpellSaveDC
From NWN Lexicon
Contents |
[edit] GetEpicSpellSaveDC(object)
Determines the DC needed to save against any epic spell.
int GetEpicSpellSaveDC( object oCaster );
[edit] Parameters
oCaster
Caster of an epic spell.
[edit] Description
Returns a number that represents the DC needed to save against for an epic spell (20 + relevant ability bonus).
If the oCaster is a placeable, then the Will save field is used as a relevant ability bonus.
[edit] Remarks
Note that relevant ability is there count as the highest one so this function is not hundred percent reliable. It will match almost always though.
Only ABILITY_CHARISMA, ABILITY_INTELLIGENCE and ABILITY_WISDOM are tested against.
[edit] Requirements
#include " x2_i0_spells "
[edit] Version
???
[edit] See Also
functions: |
author: ShaDoOoW, editor: Mistress