Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: fixed wrong value with WeaponTotal
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 18, 2023
1 parent 47a8877 commit 8815894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RotationSolver/Updaters/ActionUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8815894

Please sign in to comment.