9
3

RighteousBlow.lua 611 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/RighteousBlow.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.05 04:11:54
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Applies Blessed Strike on termination.
  9. -- Inflicts 23 - 38 divine damage on target
  10. -- Inflicts 9 - 16 divine damage on target
  11. function cast(Caster, Target, Dmg1, Dmg1Min, Dmg1Max, Dmg2, Dmg2Min, Dmg2Max)
  12. SpellDamage(Target, Dmg2, Dmg2Min, Dmg2Max)
  13. end
  14. function remove(Caster, Target)
  15. if LastSpellAttackHit() then
  16. ProcDamage(Caster, Target, "Blessed Strike", Dmg1, Dmg1Min, Dmg1Max)
  17. end
  18. end