From 0c5b2ef1c91daf9b52555b36a8e06cda7a770614 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 19 六月 2019 17:11:36 +0800
Subject: [PATCH] 7403 【2.0】【后端】日常活动新增上架拍品

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py               |    3 ++-
 ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py                                    |    3 ++-
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py |    5 +++++
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py                  |    7 ++++---
 4 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py b/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
index 6938d3f..be0c21f 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
@@ -1464,7 +1464,8 @@
 DailyActionID_SkyTower, # 天星塔  23
 DailyActionID_HorsePetBoss, # 骑宠BOSS  24
 DailyActionID_FairyDomain, # 缥缈仙域  25
-) = range(1, 25 + 1)
+DailyActionID_AuctionItem, # 拍卖行上架/竞拍  26
+) = range(1, 26 + 1)
 
 
 
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index 6c878ab..ffcbed7 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -5012,8 +5012,8 @@
 VIPPrivilege_18,    #18 洗炼副本购买次数 - 副本总表统一处理
 VIPPrivilege_19,    #19 虚无禁地额外次数 - 副本总表统一处理
 VIPPrivilege_20,    #20 暮光神庙购买次数
-VIPPrivilege_21,    #21 恶魔深渊购买次数 - 副本总表统一处理
-VIPPrivilege_22,    #22 黑暗之门购买次数
+VIPPrivilege_21,    #21 仙界秘境 - 副本总表统一处理
+VIPPrivilege_22,    #22 宗门试炼购买次数
 VIPPrivilege_FamilyGoldPack,    #23 仙盟钻石红包
 VIPPrivilege_BoursePwd,    #24 集市上架使用密码
 VIPPrivilege_25,    #25 封魔坛购买次数 - 副本总表统一处理
@@ -5027,7 +5027,8 @@
 VIPPrivilege_XianyuanCoinUpperAdd,    #33 仙缘币上限加成
 VIPPrivilege_XianyuanCoinAddPer,    #34 仙缘币获得倍率加成(万分比)
 VIPPrivilege_35,    #35 诛仙BOSS购买次数 - 副本总表统一处理
-) = range(1, 36)
+VIPPrivilege_36,    #36 仙丹批量炼制
+) = range(1, 37)
 
 
 (
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py
index 8ff7e12..9eb69c0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py
@@ -23,6 +23,7 @@
 import ItemCommon
 import ChConfig
 import ShareDefine
+import PlayerActivity
 
 import time
 
@@ -118,6 +119,8 @@
     DR_AuctionHouse(curPlayer, "PlayerPayBid", infoDict)
     playerID = curPlayer.GetPlayerID()
     QueryGameServer_AuctionHouse(playerID, "BidAuctionItem", [itemGUID, biddingPrice])
+    
+    PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_AuctionItem, 1)
     return
 
 def __DoPlayerSellAuctionItem(curPlayer, itemIndex, itemGUID, itemID):
@@ -197,6 +200,8 @@
         GameWorld.DebugLog("上架拍品: playerID=%s,familyID=%s,%s" % (playerID, familyID, drDict), playerID)
         
     QueryGameServer_AuctionHouse(playerID, "AddAuctionItem", addAuctionItemList)
+    if curPlayer:
+        PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_AuctionItem, 1)
     return
 
 def DR_AuctionHouse(curPlayer, eventName, drDict):
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
index 6938d3f..be0c21f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
@@ -1464,7 +1464,8 @@
 DailyActionID_SkyTower, # 天星塔  23
 DailyActionID_HorsePetBoss, # 骑宠BOSS  24
 DailyActionID_FairyDomain, # 缥缈仙域  25
-) = range(1, 25 + 1)
+DailyActionID_AuctionItem, # 拍卖行上架/竞拍  26
+) = range(1, 26 + 1)
 
 
 

--
Gitblit v1.8.0