- The effect object to get the caster level from.
Returns the caster level set when the effect was created as part of a spell script.
Only works on valid spells and where GetCasterLevel returns a proper value.
If not created by a creature, returns 0. If created by a spell-like ability, returns 0.
There is currently no way to set the caster level on an effect.
If a PC logs out and logs back in all effects are "decoupled" causing many to lose the caster level attached to them. It also increases the amount of effects that would be affected by EffectDispelMagic functions.
This function was added in 1.74.8149 of NWN:EE.