Aantioch_Infernum/_module/nss/ghost_give_ring.nss

18 lines
655 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
//::///////////////////////////////////////////////
//:: FileName at_001
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 23/11/2003 16:44:39
//:://////////////////////////////////////////////
void main()
{
// Give the speaker the items
CreateItemOnObject("elementalband", GetPCSpeaker(), 1);
effect eVis = EffectVisualEffect(VFX_IMP_ELEMENTAL_PROTECTION);
location lSelf = GetLocation(OBJECT_SELF);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, lSelf);
SetPlotFlag(OBJECT_SELF, FALSE);
DestroyObject(OBJECT_SELF,3.0);
}