IgnorePain.lua 395 B

123456789101112131415
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/IgnorePain.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.10 09:03:28
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MinVal, MaxVal)
  9. if MaxVal ~= nil and MinVal < MaxVal then
  10. SpellHeal("Heal", math.random(MinVal, MaxVal))
  11. else
  12. SpellHeal("Heal", MinVal)
  13. end
  14. end