9
3

PeerlessPredator.lua 936 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : Spells/Priest/Druid/Fury/PeerlessPredator.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.01.14 04:01:30
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Stat, Avoid, Resist)
  9. -- Shapechanges caster into a lion
  10. if GetGender(Target) == 0 then
  11. SetIllusion(Target, 1372)
  12. else
  13. SetIllusion(Target, 303)
  14. end
  15. -- Increases STA of caster by 21.6
  16. AddSpellBonus(Target, 1, Stat)
  17. -- Adds 2.1% to base avoidance.
  18. AddSpellBonus(Target, 696, Avoid)
  19. -- Increases Mitigation of caster vs elemental, noxious and arcane damage by 342
  20. AddSpellBonus(Target, 201, Resist)
  21. AddSpellBonus(Target, 202, Resist)
  22. AddSpellBonus(Target, 203, Resist)
  23. -- Grants See Stealth to caster
  24. Say(Caster, "Not Implemented: see stealth")
  25. end
  26. function remove(Caster, Target)
  27. RemoveSpellBonus(Target)
  28. ResetIllusion(Target)
  29. end