1234567891011121314151617181920212223242526 |
- --[[
- Script Name : Spells/Infusion.lua
- Script Author : LordPazuzu
- Script Date : 2024.05.10 04:05:03
- Script Purpose :
- :
- --]]
- function cast(Caster, Target)
- AddProc(Caster, 1, 5.0)
- end
- function proc(Caster, Target, Type)
- Level = GetLevel(Caster)
- MinDmg = math.floor(Level * 0.5)
- MaxDmg = math.floor(Level * 1.0)
- if Type == 2 then
- ProcDamage(Caster, Target, "Infusion", 5, MakeRandomInt(MinDmg, MaxDmg))
- end
- end
- function remove(Caster, Target)
- RemoveProc()
- end
|