From 93813adb387e6f879836d517240e883cefd93b32 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 29 五月 2019 17:14:42 +0800 Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 - 修复数值比例 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyInvade.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyInvade.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyInvade.py index 1a168a6..0b5054c 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyInvade.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyInvade.py @@ -24,6 +24,7 @@ import GameWorld import ChConfig import GameWorldProcess +import PlayerWeekParty import PyGameData import ShareDefine import EventReport @@ -173,6 +174,7 @@ gameWorld.SetGameWorldDict(GameFBDict_LastEnterFbDay % playerID, openServerDay + 1) FBCommon.AddEnterFBCount(curPlayer, ChConfig.Def_FBMapID_FamilyInvade) EventReport.WriteEvent_FB(curPlayer, ChConfig.Def_FBMapID_FamilyInvade, 0, ChConfig.CME_Log_Start) + PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_SWRH, 1) if familyID in PyGameData.g_swrhPlayerIDDict: if playerID not in PyGameData.g_swrhPlayerIDDict[familyID]: PyGameData.g_swrhPlayerIDDict[familyID].append(playerID) @@ -603,7 +605,8 @@ passGrade = 1 #d overMsgDict = {FBCommon.Over_dataMapID:ChConfig.Def_FBMapID_FamilyInvade, FBCommon.Over_isPass:int(isAllPass), FBCommon.Over_grade:passGrade, FBCommon.Over_costTime:costTime} - GameWorld.Log("副本结算: familyID=%s, %s" % (familyID, overMsgDict), familyID) + killNPCCnt = gameFB.GetGameFBDictByKey(Map_FamilyInvadeFB_KillNPCCnt) + GameWorld.Log("副本结算: familyID=%s, overMsgDict=%s,passWheel=%s,killNPCCnt=%s" % (familyID, overMsgDict, passWheel, killNPCCnt), familyID) leaveTick = invadeCfg[Def_Time_Leave] * 1000 copyMapPlayerManager = GameWorld.GetMapCopyPlayerManager() -- Gitblit v1.8.0