StandFirm.lua 779 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/StandFirm.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.03 06:01:16
  5. Script Purpose :
  6. :
  7. --]]
  8. --[[ Info from spell_display_effects (remove from script when done)
  9. *Grants target a 12% chance of making an additional attempt to avoid being hit by a melee attack using the caster's avoidance.
  10. *Increases Parry of caster by 2.4
  11. --]]
  12. function cast(Caster, Target, Chance, Parry)
  13. AddSkillBonus(Caster, GetSkillIDByName("Parry"), Parry)
  14. AddProc(Target, 4, Chance)
  15. end
  16. function proc(Caster, Target, Type)
  17. Say(Caster, "Avoidance buff not implemented.")
  18. end
  19. function remove(Caster, Target)
  20. RemoveSkillBonus(Caster)
  21. end