Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
/*:://////////////////////////////////////////////
//:: Spell Name Find the Path
//:: Spell FileName phs_s_findthpthZ
//:://////////////////////////////////////////////
Attacked file(s)
If attacked, spell cast at, damaged, or pickpocketed, we go.
//:://////////////////////////////////////////////
//:: Created By: Jasperre
//::////////////////////////////////////////////*/
// Destroys ourself.
void Go(string sMessage);
void main()
{
Go("The spell ended as it was attacked");
}
void Go(string sMessage)
{
SendMessageToPC(GetMaster(), sMessage);
// Else, there are no heartbeats left - we go!
effect eGo = EffectVisualEffect(VFX_IMP_UNSUMMON);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eGo, GetLocation(OBJECT_SELF));
SetPlotFlag(OBJECT_SELF, FALSE);
SetImmortal(OBJECT_SELF, FALSE);
DestroyObject(OBJECT_SELF);
}