9
3

MurgLeechtongue.lua 801 B

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/MurgLeechtongue.lua
  3. Script Purpose : Murg Leechtongue <Guard>
  4. Script Author : John Adams
  5. Script Date : 2008.09.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. end
  11. function InRange(NPC, Spawn)
  12. choice = math.random(1,2)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "", "Captain, they have cows! Lemme Kill!", "point", 1689589577, 4560189, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "", "Filthy elves!", "", 1689589577, 4560189, Spawn)
  17. else
  18. end
  19. end
  20. function LeaveRange(NPC, Spawn)
  21. end
  22. function spawn(NPC)
  23. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange", Spawn)
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end