From 021437fc736fafdb8608933ebe095b93cfb9b8ed Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 11 七月 2024 19:31:05 +0800 Subject: [PATCH] 10192 【越南】【主干】【港台】【砍树】上线增加膜拜主动推送(修改为可膜拜自己;) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py | 49 ++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 44 insertions(+), 5 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py index 7211e0f..2c85108 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py @@ -76,14 +76,18 @@ import CrossBattlefield import CrossFamilyFlagwar import CrossActAllRecharge +import PlayerActBossTrial +import PlayerActFamilyCTGAssist import ChPyNetSendPack import NetPackCommon import AuctionHouse import PlayerFairyDomain import GameWorldSkyTower import GameWorldMineArea +import PlayerTurnFight import GameWorldArena import GameWorldItem +import PlayerRecData import PlayerAssist import PlayerLove @@ -691,6 +695,14 @@ CrossActAllRecharge.MapServer_CrossActAllRecharge(curPlayer, eval(resultName)) return + # Boss历练 + if callName == "BossTrial": + curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + if not curPlayer: + return + PlayerActBossTrial.MapServer_BossTrial(curPlayer, eval(resultName)) + return + #py喇叭聊天 if callName == 'PYSpeaker': curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) @@ -710,6 +722,13 @@ # 战盟联赛 if callName =="FamilyWarOver": GameWorldFamilyWar.MapServer_FamilyWarOver(eval(resultName)) + return + + # 增加玩家Rec数据 + if callName == "AddPlayerRec": + curPlayer = None if not srcPlayerID else GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + recType, valueList, userData, notifyType = eval(resultName) + PlayerRecData.MapServer_AddPlayerRec(curPlayer, recType, valueList, userData, notifyType) return # 删除通用玩家Rec数据 @@ -992,7 +1011,7 @@ # 副本助战 - if callName =="FBHelpBattle": + if callName == "FBHelpBattle": curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) if not curPlayer: return @@ -1002,22 +1021,32 @@ resultName = '%s' % ret # 竞技场 - if callName =="Arena": + if callName == "Arena": curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) if not curPlayer: return ret = GameWorldArena.MapServer_Arena(curPlayer, eval(resultName)) resultName = '%s' % ret if ret != None else '' # 需要重置间隔,每次都回复 + # 仙盟充值互助 + if callName == "FamilyCTGAssist": + curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + if not curPlayer: + return + ret = PlayerActFamilyCTGAssist.MapServer_FamilyCTGAssist(curPlayer, eval(resultName)) + if ret == None: + return + resultName = '%s' % ret + # 仙盟boss - if callName =="FamilyBoss": + if callName == "FamilyBoss": ret = PlayerFamilyBoss.MapServer_FamilyBoss(eval(resultName), tick) if ret == None: return resultName = '%s' % ret # 情缘 - if callName =="Love": + if callName == "Love": curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) if not curPlayer: return @@ -1026,8 +1055,18 @@ return resultName = '%s' % ret + # 回合制 + if callName == "TurnFight": + curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + if not curPlayer: + return + ret = PlayerTurnFight.MapServer_TurnFight(curPlayer, eval(resultName)) + if ret == None: + return + resultName = '%s' % ret + # 福地 - if callName =="MineArea": + if callName == "MineArea": curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) if not curPlayer: return -- Gitblit v1.8.0