| | |
| | | helpPlayerInfoDict = helpBattlePlayerDict[calledPlayerID]
|
| | | if helpPlayerInfoDict.get("NeedGoldCall", 0):
|
| | | goldCallCost = IpyGameDataPY.GetFuncCfg("HelpBattleCall", 5) # 付费召唤消耗仙玉,优先消耗绑玉
|
| | | costMoneyList = PlayerControl.HaveMoneyEx(curPlayer, ShareDefine.TYPE_Price_Gold_Paper_Money, goldCallCost)
|
| | | # 恺英版改为直接扣绑玉灵石 2019/10/8
|
| | | costMoneyList = PlayerControl.HaveMoneyEx(curPlayer, IPY_GameWorld.TYPE_Price_Gold_Paper, goldCallCost)
|
| | | if not costMoneyList:
|
| | | return
|
| | |
|
| | |
| | |
|
| | | if refreshCount >= freeRefreshCount:
|
| | | costGold = IpyGameDataPY.GetFuncCfg("HelpBattleRefresh", 3)
|
| | | costMoneyList = PlayerControl.HaveMoneyEx(curPlayer, ShareDefine.TYPE_Price_Gold_Paper_Money, costGold)
|
| | | # 恺英版改为直接扣绑玉灵石 2019/10/8
|
| | | costMoneyList = PlayerControl.HaveMoneyEx(curPlayer, IPY_GameWorld.TYPE_Price_Gold_Paper, costGold)
|
| | | if not costMoneyList:
|
| | | GameWorld.DebugLog("货币不足!无法刷新助战!")
|
| | | return
|