26 lines
514 B
Plaintext
26 lines
514 B
Plaintext
|
void main()
|
||
|
{
|
||
|
if (GetLocalInt(OBJECT_SELF,"nDone")!=1)
|
||
|
|
||
|
{
|
||
|
int nIdx=0;
|
||
|
object oGlow=GetObjectByTag("jw_br_dun_glow",nIdx);
|
||
|
while (GetIsObjectValid(oGlow))
|
||
|
|
||
|
{
|
||
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(VFX_DUR_ETHEREAL_VISAGE),oGlow);
|
||
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(6),oGlow);
|
||
|
nIdx++;
|
||
|
oGlow=GetObjectByTag("jw_br_dun_glow",nIdx);
|
||
|
}
|
||
|
SetLocalInt(OBJECT_SELF,"nDone",1);
|
||
|
}
|
||
|
|
||
|
|
||
|
object oPC=GetEnteringObject();
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|