questmalachiwasphive.lua 520 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/questmalachiwasphive.lua
  3. Script Purpose : <purpose>
  4. Script Author : Jabantiz
  5. Script Date : 6/18/2018
  6. Script Notes : <special-instructions>
  7. --]]
  8. -- Quest ID's
  9. QUEST_1 = 346 -- 175 --Wasp What I Can Do
  10. function spawn(NPC)
  11. SetRequiredQuest(NPC, QUEST_1, 2)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. end
  18. function casted_on(NPC, Spawn, Message)
  19. if Message == "smash the hive" then
  20. SetStepComplete(Spawn, QUEST_1, 2)
  21. Despawn(NPC)
  22. end
  23. end