Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Magic Circle Against Evil
|
|
//:: NW_S0_CircEvil.nss
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
//:: [Description of File]
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Preston Watamaniuk
|
|
//:: Created On: March 18, 2001
|
|
//:://////////////////////////////////////////////
|
|
//:: Last Updated By: Preston Watamaniuk, On: April 11, 2001
|
|
|
|
#include "prc_inc_spells"
|
|
|
|
void main()
|
|
{
|
|
object oPC = OBJECT_SELF;
|
|
int nSpellID = GetSpellId();
|
|
|
|
if(!GetHasSpellEffect(nSpellID))
|
|
{
|
|
effect eBonus = ExtraordinaryEffect(EffectAreaOfEffect(AOE_MOB_CIRCEVIL, "fist_circevila", "", "fist_circevilb"));
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eBonus, oPC);
|
|
//FloatingTextStringOnCreature("*Magic Circle Against Evil Activated*", OBJECT_SELF, FALSE);
|
|
}
|
|
else
|
|
{
|
|
PRCRemoveEffectsFromSpell(oPC, nSpellID);
|
|
//FloatingTextStringOnCreature("*Magic Circle Against Evil Deactivated*", OBJECT_SELF, FALSE);
|
|
}
|
|
}
|
|
|