yyl
2025-10-15 bf3e63f5f831b732aabcbacd249efca1f31573f7
Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
1个文件已修改
5 ■■■■■ 已修改文件
Main/System/InternalAffairs/GoldRushLeader.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/InternalAffairs/GoldRushLeader.cs
@@ -164,7 +164,8 @@
        {
            leaderWord.SetActive(true);
            leaderWord.Play();
            leaderText.text = Language.Get(pathPosEvent.m_Text1);
            leaderText.text = Language.Get(!pathPosEvent.m_IsRandom ? pathPosEvent.m_Text1 :
                pathPosEvent.m_Text1 + UnityEngine.Random.Range((int)pathPosEvent.m_Value1, (int)pathPosEvent.m_Value2 + 1));
        }
        else if (pathPosEvent.m_PosEvent == PosEvent.TargetWord)
        {
@@ -192,7 +193,7 @@
                for (int i = 0; i < GoldRushManager.followWorkerCount; i++)
                {
                    GoldRushManager.Instance.NotifyPathEvent(pathPosEvent.m_PosEvent, isBack, tendID, i,
                    pathPosEvent.m_Text1 + UnityEngine.Random.Range((int)pathPosEvent.m_Value1, (int)pathPosEvent.m_Value2));
                    pathPosEvent.m_Text1 + UnityEngine.Random.Range((int)pathPosEvent.m_Value1, (int)pathPosEvent.m_Value2 + 1));
                }
            }
        }