MinorAntiVenin.lua 589 B

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