|  |  | 
 |  |  | import PyGameData
 | 
 |  |  | import PlayerMagicWeapon
 | 
 |  |  | import PlayerFeastTravel
 | 
 |  |  | import PlayerActTurntable
 | 
 |  |  | import GameLogic_SealDemon
 | 
 |  |  | import GameLogic_ZhuXianBoss
 | 
 |  |  | import GameLogic_CrossDemonKing
 | 
 |  |  | 
 |  |  |     #PlayerGoldAction.PlayerUseGold(curPlayer, price)
 | 
 |  |  |     
 | 
 |  |  |     # 消费返利
 | 
 |  |  |     PlayerCostRebate.AddCostRebateGold(curPlayer, costType, price, infoDict)
 | 
 |  |  |     PlayerFeastTravel.AddFeastTravelTaskValue(curPlayer, ChConfig.Def_FeastTravel_UseGold, price)
 | 
 |  |  |      | 
 |  |  |     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)
 | 
 |  |  |     else:
 | 
 |  |  |         GameWorld.DebugLog("不计入消费活动的消费类型!costType=%s" % costType, curPlayer.GetPlayerID())
 | 
 |  |  |          | 
 |  |  |     # 事件汇报
 | 
 |  |  |     #===========================================================================
 | 
 |  |  |     # if costType == ChConfig.Def_Cost_BourseBuy:
 |