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.
This commit is contained in:
21
_module/nss/jw_bane_temple_e.nss
Normal file
21
_module/nss/jw_bane_temple_e.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
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<=6;nIdx++)
|
||||
{
|
||||
oObject=GetObjectByTag("jw_blight_object"+IntToString(nIdx));
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(VFX_DUR_ANTI_LIGHT_10),oObject);
|
||||
}
|
||||
SetLocalInt(OBJECT_SELF,"nDone",1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user