From aa84cb62bebb9c8a4e586bcc1ec28eb7a16a8860 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 26 一月 2026 18:10:34 +0800
Subject: [PATCH] 422 子 【内政】命格系统 / 【内政】命格系统-客户端
---
Main/System/HeroUI/HeroTrainWin.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Main/System/HeroUI/HeroTrainWin.cs b/Main/System/HeroUI/HeroTrainWin.cs
index 05880ba..6a9f393 100644
--- a/Main/System/HeroUI/HeroTrainWin.cs
+++ b/Main/System/HeroUI/HeroTrainWin.cs
@@ -420,7 +420,7 @@
bool CanDelete()
{
- if (hero.isAttrActive)
+ if (hero.isActive)
return false;
return HeroUIManager.Instance.IsTheSameHeroFullStar(hero.heroId);
@@ -823,9 +823,9 @@
}
}
- void TeamPosChangeEvent(TeamType teamType)
+ void TeamPosChangeEvent(int teamType)
{
- if (teamType != TeamType.Story)
+ if (teamType != TeamManager.Instance.GetMainTeamID())
return;
fightPowerText.text = UIHelper.ReplaceLargeArtNum(hero.CalculateFightPower());
}
@@ -895,7 +895,7 @@
}
- if (!hero.IsInTeamByTeamType(TeamType.Story))
+ if (!hero.IsInTeamByTeamType(BattlePreSetType.Story))
{
return;
}
--
Gitblit v1.8.0