From 6a10188f3eddc740b9b8b1e7eefb0e2fdb3850e3 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 15 九月 2025 19:41:19 +0800
Subject: [PATCH] 125 【战斗】战斗系统 角色层级&战斗速度调整

---
 Main/System/Battle/Motion/MotionBase.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Main/System/Battle/Motion/MotionBase.cs b/Main/System/Battle/Motion/MotionBase.cs
index 40d4d06..7883bf6 100644
--- a/Main/System/Battle/Motion/MotionBase.cs
+++ b/Main/System/Battle/Motion/MotionBase.cs
@@ -393,6 +393,13 @@
         PlayAnimation(MotionName.idle, true);
     }
 
+    public void SetSpeedRatio(float ratio)
+    {
+        MotionTimeScale = ratio;
+        spineAnimationState.TimeScale = ratio;
+        skeletonGraphic.timeScale = ratio;
+    }
+
     #endregion
 
 }
\ No newline at end of file

--
Gitblit v1.8.0