ActofWar.lua 637 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Inquisitor/ActofWar.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.26 11:10:55
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On any combat or spell hit this spell may cast Strike of Faith on target of attack. Triggers about 1.0 times per minute.
  9. -- Inflicts 83 divine damage on target
  10. function cast(Caster, Target, DmgType, Dmg)
  11. AddProc(Target, 1, 1.7, nil, 1)
  12. end
  13. function proc(Caster, Target, Type, DmgType, Dmg)
  14. ProcDamage(Caster, Target, "Strike of Faith", DmgType, Dmg)
  15. end
  16. function remove(Caster, Target)
  17. RemoveProc(Target)
  18. end