SurvivalInstincts.lua 692 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Scout/Predator/SurvivalInstincts.lua
  3. Script Author : LordPazuzu
  4. Script Date : 3/31/2023
  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,Parry, Defense, Haste)
  13. AddSkillBonus(Caster, GetSkillIDByName("Parry"), Parry)
  14. AddSkillBonus(Caster, GetSkillIDByName("Defense"), Defense)
  15. AddSpellBonus(Caster, 617, Haste)
  16. end
  17. function remove(Caster, Target)
  18. RemoveSkillBonus(Caster)
  19. RemoveSpellBonus(Caster)
  20. end