Battledale_PRC8/_module/nss/jw_br_temple_en2.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

22 lines
632 B
Plaintext

void main()
{
if (GetLocalInt(OBJECT_SELF,"nDone")!=1)
{
object oObject;
int nIdx;
//ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(VFX_DUR_ANTI_LIGHT_10),GetObjectByTag("jw_bane_statue"));
// for (nIdx=1;nIdx<=4;nIdx++)
// {
// oObject=GetObjectByTag("jw_bane_object"+IntToString(nIdx));
// SignalEvent(oObject,EventUserDefined(10));
// }
for (nIdx=1;nIdx<=4;nIdx++)
{
oObject=GetObjectByTag("jw_blight_2object"+IntToString(nIdx));
ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(VFX_DUR_ANTI_LIGHT_10),oObject);
}
SetLocalInt(OBJECT_SELF,"nDone",1);
}
}