ForestRuins.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : ZoneScripts/ForestRuins.lua
  3. Script Purpose :
  4. Script Author : Jabantiz
  5. Script Date : 6/25/2018
  6. Script Notes :
  7. --]]
  8. function init_zone_script(zone)
  9. end
  10. function player_entry(zone, player)
  11. end
  12. function enter_location(zone, spawn, grid)
  13. end
  14. function leave_location(zone, spawn, grid)
  15. end
  16. function dawn(zone)
  17. local players = GetPlayersInZone(zone)
  18. for index, player in ipairs(players) do
  19. SendPopUpMessage(player, "As dawn breaks, the undead retreat to the shadows as the Blackfurl forces flood the castle.", 255, 0, 0)
  20. SendMessage(player, "As dawn breaks, the undead retreat to the shadows as the Blackfurl forces flood the castle.")
  21. end
  22. end
  23. function dusk(zone)
  24. local players = GetPlayersInZone(zone)
  25. for index, player in ipairs(players) do
  26. SendPopUpMessage(player, "As dusk falls, the Blackfurl forces retreat to the beach as the undead crawl from the shadows.", 255, 0, 0)
  27. SendMessage(player, "As dusk falls, the Blackfurl forces retreat to the beach as the undead crawl from the shadows.")
  28. end
  29. end