9
3

DarkElfPickles.lua 543 B

123456789101112131415161718
  1. --[[
  2. Script Name : ItemScripts/DarkElfPickles.lua
  3. Script Purpose :
  4. Script Author : Neatz09
  5. Script Date : 1/31/2021
  6. Script Notes :
  7. --]]
  8. function cast(Item, Player)
  9. Spell = GetSpell(5010)
  10. Regenz = 21.0
  11. newDuration = 20400
  12. SetSpellData(Spell, "duration1", newDuration)
  13. SetSpellData(Spell, "duration2", newDuration)
  14. SetSpellDataIndex(Spell, 0, Regenz)
  15. SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
  16. CastCustomSpell(Spell, Player, Player)
  17. end