From 2e5e4cb0cfce116e7871029221e48118289e2d70 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 12 六月 2019 11:38:07 +0800 Subject: [PATCH] 7195 【后端】【2.0】仙盟联赛修改(去除连胜奖励分配,改为连胜拍品奖励;增加排名拍品奖励) --- ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/AuctionHouse.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/AuctionHouse.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/AuctionHouse.py index b41462d..9ff90b3 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/AuctionHouse.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/AuctionHouse.py @@ -25,6 +25,7 @@ import NetPackCommon import PlayerBourse import PlayerFamily +import ShareDefine import ChConfig import operator @@ -1381,3 +1382,11 @@ DataRecordPack.SendEventPack("AuctionHouse", dataDict, curPlayer) return +def DoAddFamilyAuctionItem(mapID, familyAuctionItemDict): + ''' 上架仙盟拍品,因为仙盟拍品默认上架,所以使用批量上架 + @param familyAuctionItemDict: {仙盟ID:[[享受收益的成员ID, ...], [[拍品ID,个数], [拍品ID,个数,是否拍品], ...]], ...} + ''' + GameWorld.Log("发送地图上架仙盟拍品: mapID=%s, %s" % (mapID, familyAuctionItemDict)) + GameWorld.SendMapServerMsgEx(ShareDefine.Def_Notify_WorldKey_AddFamilyAuctionItem, [mapID, familyAuctionItemDict]) + return + -- Gitblit v1.8.0