123456789101112131415161718192021222324 |
- --[[
- Script Name : Spells/Commoner/MischiefMaker.lua
- Script Author : LordPazuzu
- Script Date : 2024.05.04 10:05:47
- 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 == 1 then
- ProcDamage(Caster, Target, "Mischief Maker", 6, MakeRandomInt(MinDmg, MaxDmg))
- end
- end
- function remove(Caster, Target)
- RemoveProc()
- end
|