MinorElementalOintment.lua 607 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : ItemScripts/MinorElementalOintment.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.10.10 01:10:30
  5. Script Purpose :
  6. :
  7. --]]
  8. --[[ Begin Item Effects
  9. * Applies Elemental Ointment when Activated.
  10. * Dispels 18 levels of elemental hostile effects on caster
  11. End Item Effects--]]
  12. function examined(Item, Player)
  13. end
  14. function used(Item, Player)
  15. Spell = GetSpell(2550436)
  16. SetSpellData(Spell, "name", "Minor Elemental Ointment")
  17. SetSpellDataIndex(Spell, 0, 18)
  18. CastCustomSpell(Spell, Player, Player)
  19. end