Revert "5502 【BT0.1】线下活动配置(修复邮件参数充值额度数值bug及领奖广播参数;包含累计充值活动,单笔累充活动,多日连充,跨服充值排行活动)"
This reverts commit c423a6c497c74ad9983e0800c9b5d7903c9f0399.
| | |
| | | continue
|
| | | batchPlayerIDList.append([playerID])
|
| | | batchAddItemList.append(ipyData.GetAwardItemList())
|
| | | batchParamList.append([int(ctgNeed)])
|
| | | batchParamList.append([ctgNeed])
|
| | | awardRecord = awardRecord | pow(2, awardIndex)
|
| | |
|
| | | if not batchPlayerIDList:
|
| | |
| | |
|
| | | 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:
|
| | |
| | | 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])
|
| | |
| | | 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)
|
| | |
| | |
|
| | | 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, {}])
|
| | |
| | | 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)
|
| | |
| | |
|
| | | 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])
|