9
3

SharkFinSouffle.lua 737 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : ItemScripts/SharkFinSouffle.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.10.27 03:10:44
  5. Script Purpose :
  6. :
  7. --]]
  8. --[[ Begin Item Effects
  9. * Increases Out-of-Combat Health Regeneration of target by 10.0
  10. * This effect suspends during combat
  11. End Item Effects--]]
  12. function cast(Item, Player)
  13. Spell = GetSpell(5462)
  14. Regenz = 10.0
  15. newDuration = 18000
  16. SetSpellData(Spell, "duration1", newDuration)
  17. SetSpellData(Spell, "duration2", newDuration)
  18. SetSpellDataIndex(Spell, 0, Regenz)
  19. SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
  20. CastCustomSpell(Spell, Player, Player)
  21. end