From 3dd9789a269c121b2f6490aa1845fd2a192be370 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 四月 2019 16:35:21 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(进入动态分布线路的跨服地图分配规则优化,功能对应虚拟线路支持人数控制分流)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ChaosDemon.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ChaosDemon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ChaosDemon.py
index d6fbb77..12cf089 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ChaosDemon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ChaosDemon.py
@@ -32,6 +32,7 @@
 import PlayerSuccess
 import FBHelpBattle
 import EventReport
+import PlayerWeekParty
 
 import math
 
@@ -162,7 +163,7 @@
         FBCommon.AddEnterFBCount(curPlayer, mapID, 1)
         joinType = FBCommon.GetFBJoinType(curPlayer, isHelpFight)
         EventReport.WriteEvent_FB(curPlayer, ChConfig.Def_FBMapID_ChaosDemon, 0, ChConfig.CME_Log_Start, joinType)
-       
+        PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_ChaosDemon, 1)
     
     fbStep = gameFB.GetFBStep()
     if fbStep <= FB_Step_Prepare:
@@ -283,6 +284,7 @@
     # 间隔未到
     if tick - GameWorld.GetGameFB().GetFBStepTick() < fbCfg[Def_PrepareTime] * 1000:
         return
+    FBHelpBattle.RefershTeamFBMemRelation(tick)
     __RefreshChaosDemonNextNPC()
     playerManager = GameWorld.GetMapCopyPlayerManager()
     for i in range(playerManager.GetPlayerCount()):
@@ -368,7 +370,7 @@
                 GameWorld.DebugLog("背包空间不够,发送邮件: mailItemList=%s" % str(prizeItemList), curPlayer.GetPlayerID())
             else:
                 for itemID, itemCnt, isBind in prizeItemList:
-                    ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem], event=["ChaosDemon", False, {}])
+                    ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem], event=["ChaosDemon", False, {}])
             
             reExp = PlayerControl.GetPlayerReExp(curPlayer)
             addExp = int(eval(giveExp) * rate/100)

--
Gitblit v1.8.0