28 lines
484 B
Plaintext
28 lines
484 B
Plaintext
|
void main()
|
||
|
{
|
||
|
if (GetLocalInt(OBJECT_SELF,"nDone")!=1)
|
||
|
|
||
|
{
|
||
|
effect eIce=EffectVisualEffect(VFX_DUR_ICESKIN);
|
||
|
eIce=SupernaturalEffect(eIce);
|
||
|
int nIdx=0;
|
||
|
object oGlow=GetObjectByTag("jw_dhorn_chest",nIdx);
|
||
|
while (GetIsObjectValid(oGlow))
|
||
|
|
||
|
{
|
||
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT,eIce,oGlow);
|
||
|
|
||
|
nIdx++;
|
||
|
oGlow=GetObjectByTag("jw_br_dun_glow",nIdx);
|
||
|
}
|
||
|
SetLocalInt(OBJECT_SELF,"nDone",1);
|
||
|
}
|
||
|
|
||
|
|
||
|
object oPC=GetEnteringObject();
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|