StreetSmarts.lua 825 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Brigand/StreetSmarts.lua
  3. Script Author : Zcoretri
  4. Script Date : 14.March.2014
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, StatAmt, Avoidance, MitAmt1, MitAmt2)
  9. -- Increases AGI of caster by 15.0
  10. -- Adds 14.0% to base avoidance.
  11. -- Increases Mitigation of caster vs physical damage by 152
  12. -- Increases Mitigation of caster vs elemental, noxious and arcane damage by 183
  13. AddSpellBonus(Target, StatAmt)
  14. -- AddSkillBonus(Target, , Avoidance)
  15. AddSpellBonus(Target, 200, MitAmt1)
  16. AddSpellBonus(Target, 201, MitAmt2)
  17. AddSpellBonus(Target, 202, MitAmt2)
  18. AddSpellBonus(Target, 203, MitAmt2)
  19. end
  20. function remove(Caster, Target)
  21. RemoveSpellBonus(Target)
  22. RemoveSkillBonus(Target)
  23. end