From 881589458c174e7a1ee6c4bf4d559f5a50fc3153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4?= <1123993881@qq.com> Date: Tue, 18 Apr 2023 21:10:52 +0800 Subject: [PATCH] fix: fixed wrong value with WeaponTotal --- RotationSolver/Updaters/ActionUpdater.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RotationSolver/Updaters/ActionUpdater.cs b/RotationSolver/Updaters/ActionUpdater.cs index 3e7420ab3..c90468022 100644 --- a/RotationSolver/Updaters/ActionUpdater.cs +++ b/RotationSolver/Updaters/ActionUpdater.cs @@ -154,7 +154,7 @@ private static unsafe void UpdateWeaponTime() DataCenter.AbilityRemainCount = (byte)(abilityWhole - (int)(DataCenter.WeaponElapsed / interval)); } - if (weaponTotal > 0) DataCenter.WeaponTotal = weaponTotal; + if (weaponTotal > 0 && DataCenter.WeaponElapsed > 0.2) DataCenter.WeaponTotal = weaponTotal; } static uint _lastMP = 0;