From 0149a2ae0db0d33c756e19ff0fd6111b2732c645 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 16 十一月 2023 14:40:45 +0800
Subject: [PATCH] Revert "5502 【BT0.1】线下活动配置(修复邮件参数充值额度数值bug及领奖广播参数;包含累计充值活动,单笔累充活动,多日连充,跨服充值排行活动)"

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py   |    4 ++--
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossActCTGBillboard.py     |    2 +-
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActSingleRecharge.py  |    4 ++--
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActManyDayRecharge.py |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossActCTGBillboard.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossActCTGBillboard.py
index 1257387..c7b121a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossActCTGBillboard.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossActCTGBillboard.py
@@ -116,7 +116,7 @@
             continue
         batchPlayerIDList.append([playerID])
         batchAddItemList.append(ipyData.GetAwardItemList())
-        batchParamList.append([int(ctgNeed)])
+        batchParamList.append([ctgNeed])
         awardRecord = awardRecord | pow(2, awardIndex)
         
     if not batchPlayerIDList:
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActManyDayRecharge.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActManyDayRecharge.py
index 2f3e479..877d11a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActManyDayRecharge.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActManyDayRecharge.py
@@ -139,7 +139,7 @@
         
         batchPlayerIDList.append([playerID])
         batchAddItemList.append(awardItemList)
-        batchParamList.append([needDays, str(int(ipyData.GetNeedRMB()))])
+        batchParamList.append([needDays, str(ipyData.GetNeedRMB())])
         GameWorld.Log("多日连充活动补发奖励! actNum=%s,playerTemplateID=%s,awardIndex=%s" % (actNum, playerTemplateID, awardIndex))
         
     if batchPlayerIDList:
@@ -236,7 +236,7 @@
     GameWorld.DebugLog("    领取成功! actNum=%s,templateID=%s,awardIndex=%s,needRechargeValue=%s,needDays=%s %s" 
                        % (actNum, templateID, awardIndex, needRechargeValue, needDays, dayRechargeValueDict))
     if notifyKey:
-        PlayerControl.WorldNotify(0, notifyKey, [curPlayer.GetPlayerName(), needDays, str(int(awardIpyData.GetNeedRMB()))])
+        PlayerControl.WorldNotify(0, notifyKey, [curPlayer.GetPlayerName(), needDays, str(awardIpyData.GetNeedRMB())])
         
     for itemID, itemCount, isAuctionItem in awardItemList:
         ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isAuctionItem, [IPY_GameWorld.rptItem])
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActSingleRecharge.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActSingleRecharge.py
index 6b65f53..ee58b80 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActSingleRecharge.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActSingleRecharge.py
@@ -136,7 +136,7 @@
         awardItemList = GameWorld.GetDictValueByRangeKey(ipyData.GetAwardItem(), playerWorldLV, [])
         batchPlayerIDList.append([playerID])
         batchAddItemList.append(awardItemList)
-        batchParamList.append([int(singleValue)])
+        batchParamList.append([singleValue])
         
     if batchPlayerIDList:
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_SingleRechargeAward % actNum, awardRecord)
@@ -317,7 +317,7 @@
     
     notifyKey = awardIpyData.GetNotifyKey()
     if notifyKey:
-        PlayerControl.WorldNotify(0, notifyKey, [curPlayer.GetPlayerName(), str(int(awardIpyData.GetSingleRechargeValue()))])
+        PlayerControl.WorldNotify(0, notifyKey, [curPlayer.GetPlayerName(), str(awardIpyData.GetSingleRechargeValue())])
         
     for itemID, itemCount, isAuctionItem in awardItemList:
         ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isAuctionItem, [IPY_GameWorld.rptItem], event=["SingleRechargeAward", False, {}])
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py
index 71afcde..208725e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py
@@ -128,7 +128,7 @@
         awardItemList = __GetItemList(ipyData.GetAwardItem(), job, playerWorldLV)
         batchPlayerIDList.append([playerID])
         batchAddItemList.append(awardItemList)
-        batchParamList.append([str(int(ipyData.GetNeedGold()))]) # 钱支持小数,显示参数传字符串
+        batchParamList.append([str(ipyData.GetNeedGold())]) # 钱支持小数,显示参数传字符串
         
     if batchPlayerIDList:
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TotalRechargeAwardRecord % actNum, awardRecord)
@@ -256,7 +256,7 @@
     
     notifyKey = awardIpyData.GetNotifyKey()
     if notifyKey:
-        PlayerControl.WorldNotify(0, notifyKey, [curPlayer.GetPlayerName(), str(int(awardIpyData.GetNeedGold()))]) # 钱支持小数,显示参数传字符串
+        PlayerControl.WorldNotify(0, notifyKey, [curPlayer.GetPlayerName(), str(awardIpyData.GetNeedGold())]) # 钱支持小数,显示参数传字符串
         
     for itemID, itemCount, _ in awardItemList:
         ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem])

--
Gitblit v1.8.0