9
3

IthariKXyrae.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/Darklight/IthariKXyrae.lua
  3. Script Purpose : Ithari K'Xyrae
  4. Script Author : John Adams
  5. Script Date : 2009.02.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. end
  21. function aggro(NPC, Spawn)
  22. PlayFlavor(NPC, "voiceover/english/neriak/ithari_k_xyrae/darklight_wood/darkelf/quest_ithari_kxyrae_aggro_gf_61c50190.mp3", "For N'Fyre!", "", 2008625885, 2662895115, Spawn)
  23. end
  24. function healthchanged(NPC)
  25. HalfHealth = GetMaxHP(NPC) / 2
  26. if GetHP(NPC) <= HalfHealth then
  27. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_halfhealth_gf_9e244d19.mp3", "How dare you!", "", 2905660023, 2043697886, Spawn)
  28. end
  29. end
  30. function death(NPC, Spawn)
  31. PlayFlavor(NPC, "voiceover/english/neriak/ithari_k_xyrae/darklight_wood/darkelf/quest_ithari_kxyrae_death_gf_4f524174.mp3", "I'll never regain her favor now!", "", 3578616574, 1411501104, Spawn)
  32. end