9
3

Bash.lua 502 B

123456789101112131415161718
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/Bash.lua
  3. Script Author : Dello
  4. Script Date : 13/06/2014
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DDType, MinDmg, MaxDmg)
  9. -- Inflicts 6 - 10 crushing damage on target
  10. if MaxDmg ~= nil and MinDmg < MaxDmg then
  11. SpellDamage(Target, DDType, math.random(MinDmg, MaxDmg))
  12. else
  13. SpellDamage(Target, DDType, MinDmg)
  14. CastSpell(Target, 5001, GetSpellTier())
  15. end
  16. end