Tease.lua 626 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Swashbuckler/Tease.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.11 09:10:49
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Dispels 35 levels of arcane beneficial effects on target
  9. function cast(Caster, Target, CureAmt, MinTaunt, MaxTaunt)
  10. CureByType(CureAmt, 2, "Cure")
  11. -- Interrupts target
  12. Interrupt(Target)
  13. -- Increases Threat to target by 2,110
  14. if MaxTaunt ~= nil and MinTaunt < MaxTaunt then
  15. AddHate(Caster, Target, math.random(MinTaunt, MaxTaunt))
  16. else
  17. AddHate(Caster, Target, MinTaunt)
  18. end
  19. end