xdh
2019-01-22 8bc09882112715eab106e4c11cbdffef77eec31d
5993 【1.5.100】七日巡礼活动相关流向记录
3个文件已修改
22 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -1619,3 +1619,13 @@
    #发送封包
    SendEventPack("FightPowerChangeInfo", dataDict, curPlayer)
    return
## 玩家周狂欢(七天巡礼)
#  @return
def DR_WeekPartyPoint(curPlayer, dayIndex, point):
    dataDict = {'PlayerID':curPlayer.GetPlayerID(),
                'AccID':curPlayer.GetAccID(), 'dayIndex':dayIndex, 'point':point}
    #发送封包
    SendEventPack("WeekPartyPoint", dataDict, curPlayer)
    return
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py
@@ -402,9 +402,7 @@
        return
    # 记录过关
    #EventReport.WriteEvent_FB(curPlayer, ChConfig.Def_FBMapID_ZhuXianTower, 0, ChConfig.CME_Log_End, 0, 1)
    unLockEquipPlace = ipyData.GetUnLockEquipPlace()
    if unLockEquipPlace:
        PlayerControl.WorldNotify(0, 'KillGodTowerInfo_1', [curPlayer.GetPlayerName(), fbLevel, unLockEquipPlace])
    ipyMgr = IpyGameDataPY.IPY_Data()
    maxFloor = ipyMgr.GetZhuXianTowerByIndex(ipyMgr.GetZhuXianTowerCount() - 1).GetID()
    # 过关时间
@@ -418,6 +416,11 @@
        PlayerBillboard.UpdatePlayerBillboard(curPlayer, ShareDefine.Def_BT_ZhuXianTower, fbLevel, 10000-costTime/1000)
        isFirstS = 1  #是否首次S通关
    gameFB.SetGameFBDict(FBDict_isFirstS, isFirstS)
    unLockEquipPlace = ipyData.GetUnLockEquipPlace()
    if isFirstS and unLockEquipPlace:
        PlayerControl.WorldNotify(0, 'KillGodTowerInfo_1', [curPlayer.GetPlayerName(), fbLevel, unLockEquipPlace])
    # 给过关奖励
    prizeItemList = __GiveFBPassPrize(curPlayer, False)
    
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py
@@ -26,6 +26,7 @@
import ItemControler
import ChPyNetSendPack
import Operate_EquipStone
import DataRecordPack
import PlayerGodWeapon
import NetPackCommon
import ShareDefine
@@ -129,6 +130,7 @@
            itemList = awardDict[point]
            for itemID, itemCnt, isBind in itemList:
                totalItemDict[itemID] = totalItemDict.get(itemID, 0) + itemCnt
            DataRecordPack.DR_WeekPartyPoint(curPlayer, day, point)
    if not totalItemDict:
        return
    totalItemList = [[itemID, itemCnt, 1] for itemID, itemCnt in totalItemDict.items()]
@@ -316,6 +318,7 @@
    for itemID, itemCnt, isBind in itemList:
        ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem])
    SyncWeekPartyPlayerInfo(curPlayer, day)
    DataRecordPack.DR_WeekPartyPoint(curPlayer, day, getPoint)
    return