2025/10/02 Update
More updates from @Behindflayer. Full compile.
This commit is contained in:
@@ -12,7 +12,7 @@ void main()
|
||||
if (GetAILevel(OBJECT_SELF) == AI_LEVEL_VERY_LOW) return;
|
||||
object oCreature = OBJECT_SELF;
|
||||
//:: Disabled for World of Amon
|
||||
ExecuteScript("prc_npc_hb", oCreature);
|
||||
//ExecuteScript("prc_npc_hb", oCreature);
|
||||
if(AI_DEBUG) ai_Debug("nw_c2_default1", "16", GetName(oCreature) + " Heartbeat." +
|
||||
" OnSpawn: " + IntToString(GetLocalInt(oCreature, AI_ONSPAWN_EVENT)));
|
||||
// We run our OnSpawn in the heartbeat so the creator can use the original
|
||||
|
||||
@@ -14,8 +14,8 @@ void main()
|
||||
{
|
||||
object oCreature = OBJECT_SELF;
|
||||
//:: Disabled for World of Amon
|
||||
//:: ExecuteScript("prc_npc_damaged", oCreature);
|
||||
|
||||
ExecuteScript("prc_npc_damaged", oCreature);
|
||||
|
||||
// Send the user-defined event signal
|
||||
if(GetSpawnInCondition(NW_FLAG_DAMAGED_EVENT))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user