8721 【主干】【BT3】【后端】H.活动-合服庆典(转盘活动改为支持配置消耗的货币类型 主干冲突)
| | |
| | | def __PayMoneyAfter(curPlayer, type_Price, price, costType, infoDict, quantity, costVIPGold):
|
| | | #金子支付
|
| | | if type_Price == IPY_GameWorld.TYPE_Price_Gold_Money:
|
| | | __PayMoneyAfterByGoldMoney(curPlayer, price, costType, infoDict, costVIPGold)
|
| | | __PayMoneyAfterByGoldMoney(curPlayer, type_Price, price, costType, infoDict, costVIPGold)
|
| | |
|
| | | #金票支付
|
| | | elif type_Price == IPY_GameWorld.TYPE_Price_Gold_Paper:
|
| | |
| | | # @param curPlayer 玩家实例
|
| | | # @param price ,货币价格
|
| | | # @return None
|
| | | def __PayMoneyAfterByGoldMoney(curPlayer, price, costType, infoDict, costVIPGold):
|
| | | def __PayMoneyAfterByGoldMoney(curPlayer, type_Price, price, costType, infoDict, costVIPGold):
|
| | |
|
| | |
|
| | | # 充值活动玩家消耗元宝处理
|
| | |
| | | if costType not in ChConfig.CostRebate_DisableType:
|
| | | PlayerCostRebate.AddCostRebateGold(curPlayer, costType, price, infoDict)
|
| | | PlayerFeastTravel.AddFeastTravelTaskValue(curPlayer, ChConfig.Def_FeastTravel_UseGold, price)
|
| | | PlayerActTurntable.OnPlayerUseGold(curPlayer, price)
|
| | | PlayerActTurntable.OnPlayerUseGold(curPlayer, type_Price, price)
|
| | | PlayerActGarbageSorting.AddActGarbageTaskProgress(curPlayer, ChConfig.Def_GarbageTask_UseGold, price)
|
| | | else:
|
| | | GameWorld.DebugLog("不计入消费活动的消费类型!costType=%s" % costType, curPlayer.GetPlayerID())
|