PrimalFury.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : Spells/Priest/Druid/Fury/PrimalFury.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.28 05:10:20
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Increases STR, AGI, WIS and INT of target by 18.2
  10. local buff = { [170148] = 5164, [170149] = 5166, [170150] = 5167, [170151] = 5168, [170152] = 5169, [170153] = 5170, [170154] = 5171 }
  11. function cast(Caster, Target, Stats, Avoid, Mit)
  12. AddSpellBonus(Target, 0, Stats)
  13. AddSpellBonus(Target, 2, Stats)
  14. AddSpellBonus(Target, 3, Stats)
  15. AddSpellBonus(Target, 4, Stats)
  16. AddSpellBonus(Target, 696, Avoid)
  17. AddSpellBonus(Target, 201, Mit)
  18. AddSpellBonus(Target, 202, Mit)
  19. AddSpellBonus(Target, 203, Mit)
  20. AddProc(Target, 1, 20)
  21. end
  22. function proc(Caster, Target, Type)
  23. local Spell_ID = GetSpellID()
  24. CastSpell(Caster, buff[Spell_ID], GetSpellTier())
  25. end
  26. function remove(Caster, Target)
  27. RemoveSpellBonus(Target)
  28. RemoveProc(Target)
  29. end
  30. -- Adds 1.4% to base avoidance.
  31. -- Increases Mitigation of target vs elemental, noxious and arcane damage by 129
  32. -- On any combat or spell hit this spell may cast Battle Fury on target. Lasts for 10.0 seconds. Triggers about 2.0 times per minute.
  33. -- Increases Ability Casting Speed of target by 7.2%
  34. -- Increases Haste of target by 21.0
  35. -- Increases Multi Attack of target by 21.0