canteenofpondwater.lua 586 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : ItemScripts/canteenofpondwater.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.12.27 07:12:46
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Item, Player)
  9. Spell = GetSpell(5463)
  10. Regenz = 11.4
  11. newDuration = 1800
  12. SetSpellData(Spell, "duration1", newDuration)
  13. SetSpellData(Spell, "duration2", newDuration)
  14. SetSpellDataIndex(Spell, 0, Regenz)
  15. SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
  16. CastCustomSpell(Spell, Player, Player)
  17. end