| | |
| | |
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_NewFCRechargeState, 2)
|
| | | for itemID, itemCnt, isBind in awardList:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem])
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem])
|
| | |
|
| | | SyncFCRechargeInfo(curPlayer)
|
| | |
|
| | | PlayerControl.WorldNotify(0, 'CeremonyRecharge', [curPlayer.GetName()])
|
| | | PlayerControl.WorldNotify(0, 'NewCeremonyRecharge', [curPlayer.GetName()])
|
| | | return
|
| | |
|
| | |
|
| | |
| | | awardRecord |= awardMark
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_NewFCPartyAwardRecord, awardRecord)
|
| | | for itemID, itemCnt, isBind in awardList:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem])
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem])
|
| | | #֪ͨ
|
| | | SyncFCPartyInfo(curPlayer, isGetAward=True)
|
| | | return
|
| | |
| | | return
|
| | |
|
| | | #################绝版降临##############################
|
| | | def AddFCCostGold(curPlayer, costType, costGold):
|
| | | def AddFCCostGold(curPlayer, costGold):
|
| | | ##充值X元
|
| | | if costGold <= 0:
|
| | | return
|
| | | if costType in ChConfig.CostRebate_DisableType:
|
| | | #GameWorld.DebugLog("不计入绝版降临消费的消费类型!costType=%s" % costType, curPlayer.GetPlayerID())
|
| | | return
|
| | | # if costType in ChConfig.CostRebate_DisableType:
|
| | | # #GameWorld.DebugLog("不计入绝版降临消费的消费类型!costType=%s" % costType, curPlayer.GetPlayerID())
|
| | | # return
|
| | | if not __IsAtFCAction():
|
| | | return
|
| | | curCostGold = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_NewFCCostGold)
|