9
3

Blackguard.lua 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Brigand/Blackguard.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.15 09:10:50
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Decreases Slashing, Piercing and Crushing of caster by 29.2
  9. -- Increases Aggression of caster by 11.9
  10. -- Increases Defense and Parry of caster by 23.8
  11. --Increases the caster's effectiveness of worn armor vs physical damage by 18%
  12. function cast(Caster, Target, OffSkill, Aggro, DefAmt)
  13. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkill)
  14. AddSkillBonus(Target, GetSkillIDByName("Piercing"), OffSkill)
  15. AddSkillBonus(Target, GetSkillIDByName("Crushing"), OffSkill)
  16. AddSkillBonus(Target, GetSkillIDByName("Aggression"), Aggro)
  17. AddSkillBonus(Target, GetSkillIDByName("Defense"), DefAmt)
  18. AddSkillBonus(Target, GetSkillIDByName("Parry"), DefAmt)
  19. AddSpellBonus(Target, 678, 18)
  20. end
  21. function remove(Caster, Target)
  22. RemoveSkillBonus(Target)
  23. --RemoveSpellBonus(Target)
  24. end