SparringPartners.lua 773 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/aformidablesparringpartner.lua
  3. Script Purpose : a formidable sparring partner
  4. Script Author : John Adams
  5. Script Date : 2008.09.20
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function death(NPC, Spawn)
  17. Despawn(NPC)
  18. end
  19. --[[
  20. function CombatReset(NPC)
  21. local hp = GetMaxHP(NPC) * 0.10
  22. SetHP(NPC, hp)
  23. end
  24. function healthchanged(NPC, Spawn)
  25. local lowhp = GetHP(NPC)
  26. if lowhp <= 15 then
  27. Runback(NPC)
  28. SetInCombat(NPC, false)
  29. ClearHate(NPC)
  30. ClearEncounter(NPC)
  31. end
  32. end
  33. --]]