From f27f41dcea55eb21f4f67e8e2885de00c4db6135 Mon Sep 17 00:00:00 2001 From: texhno Date: Tue, 5 Dec 2023 20:22:51 +0100 Subject: [PATCH] Added TOTO --- Tank.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;