PRC8/nwn/nwnprc/trunk/newspellbook/bnd_vest_tenedrk.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

24 lines
719 B
Plaintext

/**
* @file
* Deeper Darkness for Tenebrous
*
*/
#include "bnd_inc_bndfunc"
void main()
{
object oBinder = OBJECT_SELF;
if (GetHasSpellEffect(GetSpellId(), oBinder))
{
PRCRemoveSpellEffects(GetSpellId(), oBinder, oBinder);
GZPRCRemoveSpellEffects(GetSpellId(), oBinder, FALSE);
}
else
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectAreaOfEffect(AOE_PER_DARKNESS), PRCGetSpellTargetObject(), 60.0 * GetBinderLevel(oBinder, VESTIGE_TENEBROUS));
object oAoE = GetAreaOfEffectObject(GetSpellTargetLocation(), "VFX_PER_DARKNESS");
SetAllAoEInts(SPELL_DARKNESS, oAoE, GetBinderDC(oBinder, VESTIGE_TENEBROUS), 0, GetBinderLevel(oBinder, VESTIGE_TENEBROUS));
}
}