From 12b4741a953b43a6f4dc34eab0a3d8ae8de14084 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 23 一月 2024 19:35:54 +0800
Subject: [PATCH] 10014 【主干】【港台】【砍树】多个直购一次打包购买功能(免费领取礼包未领取不补发)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
index d0de5e3..54c1c58 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
@@ -305,7 +305,6 @@
GameWorld.DebugLog(" 未超过最大天,过天重置! curDays=%s" % (curDays), playerID)
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_DailyPackBuyGiftOnDayTime, curTime)
else:
- freeGiftLVLimit = IpyGameDataPY.GetFuncCfg("DailyPackBuyGift", 5)
# 单天补发的
for awardIndexStr, addItemList in giftItemDict.items():
if awardIndexStr in actCTGIDDict:
@@ -314,10 +313,8 @@
% (awardIndexStr, packBuyTime, buyState), playerID)
continue
else:
- if freeGiftLVLimit and curPlayer.GetLV() < freeGiftLVLimit:
- GameWorld.DebugLog("没有打包购买且等级不足免费礼包,不补发! awardIndex=%s,playerLV=%s < freeGiftLVLimit=%s"
- % (awardIndexStr, curPlayer.GetLV(), freeGiftLVLimit), playerID)
- continue
+ GameWorld.DebugLog("打包购买免费的不补发! awardIndex=%s" % (awardIndexStr), playerID)
+ continue
if getRecord&pow(2, int(awardIndexStr)):
GameWorld.DebugLog("已经领取过该奖励了,不补发! awardIndex=%s,getRecord=%s" % (awardIndexStr, getRecord), playerID)
continue
--
Gitblit v1.8.0