AvoidBlame.lua 617 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Swashbuckler/AvoidBlame.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.16 02:12:53
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, HateAmt)
  9. -- On a melee hit this spell may cast Evade on target of attack. Triggers about 4.0 times per minute.
  10. AddProc(Target, 3, 20.0)
  11. end
  12. function proc(Caster, Target, Type, HateAmt)
  13. -- Decreases Threat to target by 268
  14. if Type == 3 then
  15. AddHate(Target, HateAmt, 1)
  16. end
  17. end
  18. function remove(Caster, Target)
  19. RemoveProc(Target)
  20. end