RemedyoftheGarden.lua 600 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : ItemScripts/RemedyoftheGarden.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.10.03 05:10:15
  5. Script Purpose :
  6. :
  7. --]]
  8. --[[ Begin Item Effects
  9. * Applies Remedy of the Garden when Activated.
  10. * Heals caster for 8
  11. End Item Effects--]]
  12. function examined(Item, Player)
  13. end
  14. function used (Item, Player)
  15. Spell = GetSpell(2550435)
  16. SetSpellData(Spell, "name", "Remedy of the Garden")
  17. SetSpellDataIndex(Spell, 0, 8)
  18. SetSpellDataIndex(Spell, 1, 8)
  19. CastCustomSpell(Spell, Player, Player)
  20. end