From 69fdc58cb97714f856df268f08451f2ba7e5ecf2 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 21 一月 2026 10:40:56 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/HeroUI/HeroTrainWin.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Main/System/HeroUI/HeroTrainWin.cs b/Main/System/HeroUI/HeroTrainWin.cs
index 05880ba..741a254 100644
--- a/Main/System/HeroUI/HeroTrainWin.cs
+++ b/Main/System/HeroUI/HeroTrainWin.cs
@@ -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