Pummel.lua 593 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/Pummel.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.17 07:11:55
  5. Script Purpose : Direct Damage script
  6. :
  7. --]]
  8. function cast(Caster, Target, DDType, MinDmg, MaxDmg)
  9. if MaxDmg ~= nil and MinDmg < MaxDmg then
  10. dmgAmount = math.random(MinDmg, MaxDmg)
  11. SpellDamage(Target, DDType, dmgAmount)
  12. else
  13. SpellDamage(Target, DDType, MinDmg)
  14. end
  15. end
  16. function remove(Caster, Target, DDType, MinDmg, MaxDmg)
  17. end