12345678910111213141516171819202122232425 |
- --[[
- Script Name : ItemScripts/SacredSustenanceFood.lua
- Script Author : dorbin
- Script Date : 2024.03.22 11:03:12
- Script Purpose :
- :
- --]]
- --[[ Begin Item Effects
- * Increases Out-of-Combat Health Regeneration of target by 2.0
- * This effect suspends during combat
- End Item Effects--]]
- function cast(Item, Player)
- Spell = GetSpell(5462)
- Regenz = 3.0
- newDuration = 18000
- SetSpellData(Spell, "duration1", newDuration)
- SetSpellData(Spell, "duration2", newDuration)
- SetSpellDataIndex(Spell, 0, Regenz)
- SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
- CastCustomSpell(Spell, Player, Player)
- end
|