LoD_PRC8/_module/nss/hal_gateirinhelp.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

15 lines
503 B
Plaintext

void main()
{
int nHP = GetCurrentHitPoints();
int nCheck = GetLocalInt(OBJECT_SELF, "Aid");
if(nHP < 1000 && nCheck == FALSE)
{
SetLocalInt(OBJECT_SELF, "Aid", TRUE);
object oArea = GetArea(OBJECT_SELF);
location lPlace1 = Location(oArea, Vector(17.0f, 2.5f, 0.0f), 0.0f);
location lPlace2 = Location(oArea, Vector(23.0f, 2.5f, 0.0f), 0.0f);
CreateObject(OBJECT_TYPE_CREATURE, "hal_ilsold1", lPlace1);
CreateObject(OBJECT_TYPE_CREATURE, "hal_ilsold1", lPlace2);
}
}