9
3

TheBookofIllusions.lua 702 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/TheBookofIllusions.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.05 08:06:42
  5. Script Purpose : Vhret's response. Need quest connection (possibly Kunark? exp)
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function casted_on(NPC, Spawn, SpellName)
  11. if SpellName == 'Take Book of Illusions' then
  12. local Vhret = GetSpawn(NPC, 2310083)
  13. if Vhret ~= nil then
  14. FaceTarget(Vhret, Spawn)
  15. PlayFlavor(Vhret, "", "I'm sorry, but no one but the Queen herself will be allowed to remove that book from this tower.", "no", 0, 0, Spawn, 0)
  16. end
  17. end
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end