Enrage.lua 430 B

123456789101112131415161718
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/Enrage.lua
  3. Script Author : Dello
  4. Script Date : 10/06/2014
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MinTaunt, MaxTaunt)
  9. if MaxTaunt ~= nil and MinTaunt < MaxTaunt then
  10. AddHate(Caster, Target, math.random(MinTaunt, MaxTaunt))
  11. else
  12. AddHate(Caster, Target, MinTaunt)
  13. end
  14. end