9
3

SurvivalInstincts.lua 895 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Scout/Predator/SurvivalInstincts.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.04 12:11:49
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases AGI of caster by 13.1
  9. -- Decreases Slashing, Piercing and Crushing of caster by 13.8
  10. -- Increases Parry of caster by 7.3
  11. -- Increases Defense of caster by 9.7
  12. function cast(Caster, Target, Agi, OffSkillz, Par, Def)
  13. AddSpellBonus(Target, 2, Agi)
  14. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkillz)
  15. AddSkillBonus(Target, GetSkillIDByName("Piercing"), OffSkillz)
  16. AddSkillBonus(Target, GetSkillIDByName("Crushing"), OffSkillz)
  17. AddSkillBonus(Target, GetSkillIDByName("Parry"), Par)
  18. AddSkillBonus(Target, GetSkillIDByName("Defense"), Def)
  19. end
  20. function remove(Caster, Target)
  21. RemoveSpellBonus(Target)
  22. RemoveSkillBonus(Target)
  23. end