venomous.lua 272 B

12345678910111213
  1. local Venomous = extend(Buff)
  2. Venomous.tags = {'elite'}
  3. function Venomous:preattack(target, damage)
  4. if isa(target, Unit) then
  5. target.buffs:add('venom', {
  6. dot = self.unit.damage * self.dotModifier,
  7. timer = self.dotTimer
  8. })
  9. end
  10. end
  11. return Venomous