Feerrott.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : ZoneScripts/Feerrott.lua
  3. Script Purpose :
  4. Script Author : Neatz09
  5. Script Date : 2/24/2019
  6. Script Notes :
  7. --]]
  8. local TheSteinOfMoggok = 5511
  9. function init_zone_script(Zone)
  10. SetLocationProximityFunction(zone, -119, -16.93, 549.2, 10, "StableMasters", "Leave") -- Alliz Evol
  11. SetLocationProximityFunction(zone, 11.47, 3.68, -27.91, 10, "StableMasters", "Leave") -- Drowning Causeway
  12. SetLocationProximityFunction(zone, -198.16, -7.66, 818.5, 10, "StableMasters", "Leave") -- Greenblood River
  13. SetLocationProximityFunction(zone, -561.2, -15.27, 792.09, 10, "StableMasters", "Leave") -- Tae Ew
  14. SetLocationProximityFunction(zone, -1883.67, -21.52, 839.08, 10, "StableMasters", "Leave") -- Dread basin
  15. SetLocationProximityFunction(zone, -1022.97, -4.75, 434.48, 10, "StableMasters", "Leave") -- Tower of Vul
  16. SetLocationProximityFunction(zone, -1189.48, -5.49, 765.77, 10, "StableMasters", "Leave") -- Alliz Tae
  17. SetLocationProximityFunction(Zone, 30, -9, 698, 10, "ClurgTheBartender", "LeaveLocation")
  18. end
  19. function LeaveLocation(Zone, Player)
  20. end
  21. function StableMasters(Zone, Spawn)
  22. if IsPlayer(Spawn) and IsOnAutoMount(Spawn) then
  23. EndAutoMount(Spawn)
  24. end
  25. end
  26. function ClurgTheBartender(Zone, Player)
  27. if HasQuest(Player, TheSteinOfMoggok) and GetQuestStep(Player, TheSteinOfMoggok) == 6 then
  28. local ClurgBartender = SpawnMob(Zone, 1210294, false, 30, -9, 698, 349.984)
  29. if ClurgBartender ~= nil then
  30. Attack(ClurgBartender, Player)
  31. end
  32. end
  33. end
  34. function player_entry(Zone, player)
  35. end
  36. function enter_location(Zone, spawn, grid)
  37. end
  38. function leave_location(Zone, spawn, grid)
  39. end
  40. function dawn(Zone)
  41. end
  42. function dusk(Zone)
  43. end