DeadCalm.lua 608 B

123456789101112131415161718192021
  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, 1, 12, nil, 1)
  12. end
  13. function proc(Caster, Target, Type, DmgType, MinVal, MaxVal)
  14. ProcDamage(Caster, Target, "Crypt's Revenge", DmgType, MinVal, MaxVal)
  15. end
  16. function remove(Caster, Target)
  17. RemoveProc(Target)
  18. end