Torment.lua 634 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Torment.lua
  3. Script Purpose : Inquisitor Debuff + DoT Damage
  4. Script Author : Zcoretri
  5. Script Date : 23.May.2010 UPDated by neatz09 10-15-19
  6. Script Notes :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinDmg, MaxDmg, Debuff)
  9. Say(Caster, "Combat Mitigation component not supported")
  10. -- Debuff component
  11. AddSpellBonus(Target, 203, Debuff)
  12. -- Instant Damage
  13. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  14. end
  15. function tick(Caster, Target, DmgType, MinDmg, MaxDmg)
  16. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end