FocusedCasting.lua 731 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/FocusedCasting.lua
  3. Script Author : neatz09
  4. Script Date : 2020.07.21 08:07:15
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Increases Crit Chance of caster by 100.0
  10. -- Prevents caster from being Interrupted
  11. -- Increases Crit Bonus by 50% of the caster's base Crit Bonus
  12. -- Increases Potency by 25% of the caster's base Crit Bonus
  13. function cast(Caster, Target, Chance, Bonus)
  14. AddSpellBonus(Target, 654, Chance)
  15. AddSpellBonus(Target, 657, Bonus)
  16. Say(Caster, "cant be interrupted + fervor not implemented")
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end