20 lines
596 B
Plaintext
20 lines
596 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
|
|
if(!GetIsPC(oPC))
|
|
{
|
|
return;
|
|
}
|
|
|
|
if(GetTag(GetItemInSlot(INVENTORY_SLOT_CLOAK, oPC)) == "MedusasShawl")
|
|
{
|
|
return;
|
|
}
|
|
|
|
object oTarget = oPC;
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_GAS_EXPLOSION_EVIL), oTarget);
|
|
SendMessageToPC(oTarget, "Strangely you just stop running... Soon you realize, you've been petrified! (This lasts only 1 min so don't panic :P , find/wear cloak to avoid this.)");
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectPetrify(), oTarget, 60.0f);
|
|
}
|