DeadlyFocus.lua 834 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Scout/Predator/Assassin/DeadlyFocus.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.11 04:10:19
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Accuracy, Multi, SkillAmt)
  9. -- Caster will have their chance to hit with a weapon increased by 4.5%
  10. AddSpellBonus(Target, 682, Accuracy)
  11. -- Increases Multi Attack of caster by 29.0
  12. AddSpellBonus(Target, 641, Multi)
  13. -- Increases Piercing, Slashing and Crushing of caster by 10.8
  14. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  15. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  16. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. RemoveSkillBonus(Target)
  21. end