将 Weapon 攻击冷却计时器 由 Weapon 内部维护迁移到 TimerModule 维护

This commit is contained in:
2026-06-18 23:23:29 +08:00
parent 25f36d38c9
commit 846e4d6f44
26 changed files with 48 additions and 36 deletions
@@ -11,7 +11,7 @@ namespace SepCore.Entity.Weapon
public override void OnEnter()
{
_weapon._currAttackTimer = 0f;
_weapon.ResetAttackCooldown(_weapon._weaponData.Cooldown);
_weapon.Attack();
}