9
3

DeadCalm.lua 634 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Scout/Bard/Dirge/DeadCalm.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.12 10:10:14
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On a combat hit this spell has a 12% chance to cast Crypt's Revenge on target of attack.
  9. -- Inflicts 30 - 51 disease damage on target
  10. function cast(Caster, Target)
  11. AddProc(Target, 3, 12, nil, 1)
  12. end
  13. function proc(Caster, Target, Type, DmgType, MinVal, MaxVal)
  14. if Type == 3 then
  15. ProcDamage(Caster, Target, "Crypt's Revenge", DmgType, MinVal, MaxVal)
  16. end
  17. end
  18. function remove(Caster, Target)
  19. RemoveProc(Target)
  20. end