Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include "nw_i0_spells"
void DeadMagicExit(object oPC)
{
effect eVis = EffectVisualEffect(VFX_IMP_DISPEL);
RemoveSpecificEffect(EFFECT_TYPE_SPELL_FAILURE, oPC);
RemoveSpecificEffect(EFFECT_TYPE_DISPELMAGICALL, oPC);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eVis, oPC);
AssignCommand(oPC, PlaySound("sce_positive"));
}
void main()
{
object oPC = GetExitingObject();
ExecuteScript("_area_on_exit", OBJECT_SELF);
DelayCommand(8.0, SendMessageToPC(oPC,"You sense magic returning to you"));
DelayCommand(8.5, DeadMagicExit(oPC));
}