taunt.lua 183 B

123456789
  1. local Taunt = extend(Ability)
  2. function Taunt:postattack(target, damage)
  3. if target.buffs then
  4. target.buffs:add('taunt', {timer = 5, target = self.unit})
  5. end
  6. end
  7. return Taunt