Initial Upload
Initial Upload
This commit is contained in:
17
_module/nss/petrifyonenter.nss
Normal file
17
_module/nss/petrifyonenter.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetTag(GetItemInSlot(INVENTORY_SLOT_CLOAK, oPC)) == "MedusasShawl")
|
||||
return;
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectPetrify(), oTarget);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user