From 415f067849cc3c3b3a7111cf7b55fbfbdb548c19 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 27 二月 2025 23:02:45 +0800
Subject: [PATCH] 10349 【越南】【英文】【BT】【砍树】跨服竞技场优化 - 跨服排位赛
---
LogicProject/System/PlayerCommon/HeroControler.cs | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/LogicProject/System/PlayerCommon/HeroControler.cs b/LogicProject/System/PlayerCommon/HeroControler.cs
index b5e6956..6b530b9 100644
--- a/LogicProject/System/PlayerCommon/HeroControler.cs
+++ b/LogicProject/System/PlayerCommon/HeroControler.cs
@@ -80,7 +80,7 @@
}
//鍙傝�� RoleModel . OnFuncStateChangeEvent 0 鏈帹閫� 1宸叉帹閫�
- //鍔熻兘锛氭槸鍚︽彁閱掕繃 1璞崕棣栧厖 2鏃犻檺璐у竵 3 鍦ㄧ嚎鐗规儬 4 1鍏�30鍊� 5 鐜╂硶鍓嶇灮 6 鎴樺満鍙泦 7璺ㄦ湇64鎺掍綅
+ //鍔熻兘锛氭槸鍚︽彁閱掕繃 1璞崕棣栧厖 2鏃犻檺璐у竵 3 鍦ㄧ嚎鐗规儬 4 1鍏�30鍊� 5 鐜╂硶鍓嶇灮 6 鎴樺満鍙泦 7璺ㄦ湇64鎺掍綅 8 璺ㄦ湇澶╂
public void FuncPush(int id)
{
if (id == 203)
@@ -101,10 +101,18 @@
{
roleModel.funcInfo[7] = 0;
}
+ }
+ else if (id == 157)
+ {
+ if (CrossServerOneVsOnePKSeason.Instance.isSatisfyMatch &&
+ CrossServerOneVsOnePlayerInfo.Instance.GetDayRemainNum() > 0)
+ {
+ roleModel.funcInfo[8] = 0;
+ }
}
}
- List<int> funcPushIDS = new List<int>() { 203, 208, 210 };
+ List<int> funcPushIDS = new List<int>() { 157, 208, 210 };
void OnPlayerLoginOk()
{
--
Gitblit v1.8.0