rallying.lua 317 B

123456789101112131415
  1. local Rallying = extend(Buff)
  2. Rallying.tags = {'elite'}
  3. function Rallying:update()
  4. local units = ctx.target:inRange(self.unit, self.range, 'ally', 'unit')
  5. table.each(units, function(unit)
  6. unit.buffs:add('rallyingfury', {
  7. haste = self.speedModifier,
  8. timer = .5
  9. })
  10. end)
  11. end
  12. return Rallying