123456789101112131415161718 |
- --[[
- Script Name : Spells/Fighter/Warrior/Guardian/Bash.lua
- Script Author : Dello
- Script Date : 13/06/2014
- Script Purpose :
- :
- --]]
- function cast(Caster, Target, DDType, MinDmg, MaxDmg)
- -- Inflicts 6 - 10 crushing damage on target
- if MaxDmg ~= nil and MinDmg < MaxDmg then
- SpellDamage(Target, DDType, math.random(MinDmg, MaxDmg))
- else
- SpellDamage(Target, DDType, MinDmg)
- Knockback(Caster, Target, 4000)
- end
- end
|