Battledale_PRC8/_module/nss/jw_bridun3_enter.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

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();
}