diff --git a/Tank.ts b/Tank.ts index fa02acd..06bf78f 100644 --- a/Tank.ts +++ b/Tank.ts @@ -23,7 +23,7 @@ const setStats: SetStats = (tank) => ({ type Attack = (_: ITank[], tank: ITank, tIndex: number, tanks: ITank[]) => ITank[]; const attack: Attack = (_acc, tank, _iTank, tanks) => { - // Must refactor this imperative block + // [TODO]: Refactor this imperative block if (tank.attackDelay === 0) { const target = tanks[Math.floor(Math.random() * tanks.length)]; const attackDamage = critMultiplier(tank.health) * tank.health / 100;