9
3

Righteousness.lua 678 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Paladin/Righteousness.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.05 09:12:22
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, minVal, maxVal, mitVal)
  9. -- Increases Threat to target encounter by 125 - 153
  10. if maxVal ~= nil and minVal < maxVal then
  11. AddHate(Caster, Target, math.random(minVal, maxVal))
  12. else
  13. AddHate(Caster, Target, minVal)
  14. end
  15. -- Decreases Mitigation of target encounter vs arcane damage by 104
  16. AddSpellBonus(Target, 203, mitVal)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end