From 8d57a9bf9f4bef8e701e668dc5ee47905988b0df Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 28 十一月 2025 15:14:53 +0800
Subject: [PATCH] 125 战斗 复活技能
---
Main/System/Battle/Define/BattleDmgInfo.cs | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Main/System/Battle/Define/BattleDmgInfo.cs b/Main/System/Battle/Define/BattleDmgInfo.cs
index 41caa35..e85459d 100644
--- a/Main/System/Battle/Define/BattleDmgInfo.cs
+++ b/Main/System/Battle/Define/BattleDmgInfo.cs
@@ -396,6 +396,13 @@
/// </summary>
private int ValidateAndFixAttackType(int attackType)
{
+ if (IsType(DamageType.Stunned))
+ {
+ // 鐗规畩澶勭悊鍑绘檿绫诲瀷
+ // 鍘绘帀鍑绘檿绫诲瀷
+ attackType &= ~(int)DamageType.Stunned;
+ }
+
if (DamageNumConfig.Get(attackType) != null)
return attackType;
--
Gitblit v1.8.0