9
3

Breeze.lua 908 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/CircleElders/Breeze.lua
  3. Script Author : premierio015
  4. Script Date : 2020.05.24 10:05:47
  5. Script Purpose : Breeze Script for Circle Event
  6. :
  7. --]]
  8. local KaylID = 433249
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function death(NPC, Spawn) -- after Breeze dies, Kayl starts speech and call function "KillDialogue" inside his script.
  15. local zone = GetZone(NPC)
  16. local Kayl = GetSpawnByLocationID(zone, KaylID)
  17. if Kayl ~= nil then
  18. SpawnSet(Kayl, "attackable", 1)
  19. SpawnSet(Kayl, "show_level", 1)
  20. SpawnSet(Kayl, "targetable", 1)
  21. SpawnSet(Kayl, "visual_state", 0)
  22. PlayFlavor(Kayl, "", "Good show, but it's over now. You are no match for my strength. I will... Wait! Wh... who's there?", "point", 1689589577, 4560189)
  23. AddTimer(Kayl, 1000, "KillDialogue", Spawn)
  24. end
  25. end