12345678910111213141516171819202122 |
- --[[
- Script Name : Spells/oofalasguard.lua
- Script Author : Premierio015
- Script Date : 2022.04.22 10:04:51
- Script Purpose :
- :
- --]]
- --[[ Info from spell_display_effects (remove from script when done)
- *Inflicts 44-58 magic damage on target
- --]]
- function cast(Caster, Target, DmgType, MinVal, MaxVal)
- if MaxVal ~= nil and MinVal < MaxVal then
- SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
- else
- SpellDamage(Target, DmgType, MinVal)
- end
- end
|