HunkerDown.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/HunkerDown.lua
  3. Script Author : neatz09
  4. Script Date : 2020.10.28 03:10:47
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Decreases Haste of caster by 11.3
  9. -- Increases Mitigation of caster vs physical damage by 133
  10. -- On a melee hit this spell may cast Pin on target of attack. Lasts for 10.0 seconds. Triggers about 5.0 times per minute.
  11. -- Roots target
  12. -- 5% chance to dispel when target takes damage
  13. -- 5% chance to dispel when target receives hostile action
  14. -- Epic targets gain an immunity to Root and Ability attacks will hit for their maximum damage. effects of 30.0 seconds and duration is reduced to 3.3 seconds.
  15. function cast(Caster, Target, Haste, Mit)
  16. AddSpellBonus(Target, 617, Haste)
  17. AddSpellBonus(Target, 200, Mit)
  18. AddProc(Target, 3, 5)
  19. Say(Caster, "PVP Increased heals not implemented.")
  20. end
  21. function proc(Caster, Target)
  22. if Type == 3 then
  23. CastSpell(Target, 5452)
  24. end
  25. end
  26. function remove(Caster, Target)
  27. RemoveSpellBonus(Target)
  28. RemoveProc(Target)
  29. end