FueledbyHate.lua 546 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/FueledbyHate.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.05.04 07:05:33
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. CurrentRegen = GetInfoStructSInt(Caster, "power_regen")
  10. level = GetLevel(Caster)
  11. AddSpellBonus(Caster, 601, math.ceil(CurrentRegen * 0.05))
  12. AddSpellBonus(Caster, 203, math.ceil(level * 1.5))
  13. Say(Caster, "Placeholder resist calculation")
  14. end
  15. function remove(Caster, Target)
  16. RemoveSpellBonus()
  17. end