ElAradsReplenishing.lua 471 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Commoner/ElAradsReplenishing.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.05.16 08:05:18
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. regen(Caster, Target)
  10. end
  11. function tick(Caster, Target)
  12. regen(Caster, Target)
  13. end
  14. function regen(Caster, Target)
  15. level = GetLevel(Caster)
  16. pw = math.ceil(level * 0.65)
  17. SpellHeal("Power", pw, pw, Caster)
  18. end