1234567891011121314151617181920212223242526272829303132333435 |
- --[[
- Script Name : SpawnScripts/ScarabHive/GuardianAnkhumyal.lua
- Script Author : Premierio015
- Script Date : 2021.10.16 10:10:53
- Script Purpose :
- :
- --]]
- local Guardian_AnkhemaufutID = 619217
- local Guardian_AnkhentarisID = 619216
- local Guardian_AnkhrenlaiID = 619233
- local Queen = 619238
- function spawn(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function death(NPC, Spawn)
- local zone = GetZone(Spawn)
- local Guardian_Ankhentaris = GetSpawnByLocationID(zone, 619216)
- local Guardian_Ankhemaufut = GetSpawnByLocationID(zone, Guardian_AnkhemaufutID)
- local Guardian_Ankhrenlai = GetSpawnByLocationID(zone, Guardian_AnkhrenlaiID)
- if not IsAlive(Guardian_Ankhentaris) and not IsAlive(Guardian_Ankhemaufut) and not IsAlive(Guardian_Ankhrenlai) then
- SpawnByLocationID(zone, Queen)
- end
- end
- function respawn(NPC)
- spawn(NPC)
- end
|