9
3

FlowLikeWind.lua 938 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Monk/FlowLikeWind.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.01.12 05:01:24
  5. Script Purpose :
  6. :
  7. --]]
  8. --last tier has 1.4% potency
  9. function cast(Caster, Target, BonusAmt, DefSkills, SkillAmt)
  10. -- Increases Attack Speed of caster by 10.9
  11. AddSpellBonus(Target, 617, BonusAmt)
  12. -- Decreases Defense of caster by 1.8
  13. AddSkillBonus(Target, GetSkillIDByName("Defense"), DefSkills)
  14. -- Increases Ranged, Crushing, Piercing and Slashing of caster by 2.4
  15. AddSkillBonus(Target, GetSkillIDByName("Ranged"), SkillAmt)
  16. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  17. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  18. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  19. AddSpellBonus(Target, 659, 20) --potency gain?
  20. end
  21. function remove(Caster, Target)
  22. RemoveSpellBonus(Target)
  23. end