searingtrout.lua 608 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Darklight/searingtrout.lua
  3. Script Author : fearfx
  4. Script Date : 2017.01.24 06:01:57
  5. Script Purpose :
  6. :
  7. --]]
  8. local ReapingTheBenefits = 188
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function casted_on(Target, Caster, SpellName)
  17. if SpellName == "Fishing" then
  18. Say(Caster, "Fish!")
  19. if HasQuest(Caster, ReapingTheBenefits) then
  20. --Say(Caster, "")
  21. Despawn(Target)
  22. SummonItem(Caster, 37182)
  23. end
  24. end
  25. end