hch
2019-07-22 5f18b0ab13594fe5a7e60af7f38c8c4443b553d7
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyCeremony.py
@@ -189,9 +189,11 @@
    
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FCRechargeState, 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()])
    return
@@ -255,7 +257,7 @@
    awardRecord |= awardMark
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FCPartyAwardRecord, 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
@@ -282,12 +284,13 @@
    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_FCCostGold)