anunfinishedhelm.lua 517 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : ItemScripts/anunfinishedhelm.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.01 09:06:05
  5. Script Purpose :
  6. :
  7. --]]
  8. local LionManeHelm = 5249
  9. function examined(Item, Player)
  10. if not HasQuest(Player, LionManeHelm) and not HasCompletedQuest(Player, LionManeHelm) then
  11. OfferQuest(nil, Player, LionManeHelm)
  12. end
  13. end
  14. function obtained(Item, Player)
  15. if HasCompletedQuest(Player, LionManeHelm) then
  16. RemoveItem(Player, 3826)
  17. end
  18. end