From 04fbabb7d25abfd0531db35aaa03badcf402673d Mon Sep 17 00:00:00 2001 From: WiseDev <83840010+wisedevik@users.noreply.github.com> Date: Sun, 23 Aug 2026 16:43:30 +0300 Subject: [PATCH] count the deploy timer in milliseconds the models came back with the counter moving, but every troop sat in its deploy pose: DeployTime is 1000 and it shares a table with HitSpeed 1100 and 1500, so it is milliseconds, not ticks. moving the counter by one a tick stretched a one second deploy across a thousand ticks - most of the match. it now moves a tick's worth at a time, so deploying takes the twenty ticks it should. --- crates/logic/src/battle/logic_simulation.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/logic/src/battle/logic_simulation.rs b/crates/logic/src/battle/logic_simulation.rs index d06132c..ed4d3fe 100644 --- a/crates/logic/src/battle/logic_simulation.rs +++ b/crates/logic/src/battle/logic_simulation.rs @@ -210,7 +210,8 @@ impl LogicBattle { continue; }; if character.deploy_timer < deploy_time { - character.deploy_timer += 1; + character.deploy_timer = + (character.deploy_timer + TICK_MILLISECONDS).min(deploy_time); } } }