From d2e8880933fca8e8d8a8f0205bdd9ea95f4ec665 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 20 十二月 2023 15:58:14 +0800 Subject: [PATCH] 10024 【主干】【港台】【砍树】新增三种战令(增加战令类型4:古宝总星级) --- ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py index 8e9b5fe..d6d1a38 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py @@ -64,6 +64,7 @@ import GameWorldArena import CrossLuckyCloudBuy import CrossRealmPK +import CrossChampionship import AuctionHouse import PlayerAssist import PlayerFB @@ -71,6 +72,8 @@ import PlayerCharm import CrossRealmPlayer import CrossBattlefield +import CrossActAllRecharge +import CrossYaomoBoss #--------------------------------------------------------------------- #--------------------------------------------------------------------- @@ -231,10 +234,17 @@ PlayerLove.OnPlayerLogin(curPlayer) #跨服战场 CrossBattlefield.OnPlayerLogin(curPlayer) + #跨服排位 + CrossChampionship.OnPlayerLogin(curPlayer, tick) + #跨服全民充值 + CrossActAllRecharge.OnPlayerLogin(curPlayer) + #跨服妖魔boss + CrossYaomoBoss.OnPlayerLogin(curPlayer) if isMixServerFirstLogin: PlayerCharm.OnMixServerFirstLogin(curPlayer) + PyGameData.g_noPlayerLoginWarningMailState = 2 return def __UpdOnedayJobPlayerLoginoffTime(curPlayer): @@ -712,6 +722,8 @@ PyGameData.g_todayPlayerLVDict[playerID] = packValue elif packType == IPY_GameServer.CDBPlayerRefresh_Job: + if packValue != curPlayer.GetJob(): + PlayerBillboard.DelJobFightPowerBillboard(curPlayer, curPlayer.GetJob()) curPlayer.SetJob(packValue) # elif packType == IPY_GameServer.CDBPlayerRefresh_CurrentPlayerType: @@ -739,7 +751,8 @@ PlayerControl.SetCrossMapID(curPlayer, packValue, False) elif packType == IPY_GameServer.CDBPlayerRefresh_ExAttr9: - PlayerControl.SetVIPExpireTime(curPlayer, packValue) + curPlayer.SetExAttr9(packValue) + #PlayerControl.SetVIPExpireTime(curPlayer, packValue) elif packType == IPY_GameServer.CDBPlayerRefresh_ExAttr10: PlayerControl.SetChatBubbleBox(curPlayer, packValue) -- Gitblit v1.8.0