9
3

aslaincoldain.lua 540 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/aslaincoldain.lua
  3. Script Purpose : for the spawn "a slain coldain"
  4. Script Author : theFoof
  5. Script Date : 2013.06.3
  6. Script Notes :
  7. --]]
  8. local WeaponChoice = 47
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function casted_on(NPC, Spawn, SpellName)
  15. if SpellName == "the body" then
  16. if GetQuestStep(Spawn, WeaponChoice) == 1 then
  17. AddStepProgress(Spawn, WeaponChoice, 1, 1)
  18. Despawn(NPC)
  19. SendMessage(Spawn, "You found a functional coldain weapon.")
  20. end
  21. end
  22. end