xdh
2019-03-15 fcd85d03baffd8246e5f8202f2dbda8bfe12cff8
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerNewFairyCeremony.py
@@ -108,7 +108,7 @@
            GameWorld.ErrLog('    邮件发放充值大礼奖励 CeremonyRecharge 未配置奖励 worldLvNum=%s' % worldLvNum)
        else:
            awardList = awardInfoDict[str(worldLvNum)]
            PlayerControl.SendMailByKey('CeremonyPayPack', [playerID], awardList, [playerName])
            PlayerControl.SendMailByKey('NewCeremonyPayPack', [playerID], awardList, [playerName])
    #全民来嗨
    worldLvNum = __GetFCWorldLVIndex(curPlayer, Def_FC_Party)
    curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_NewFCPartyCurPoint)
@@ -134,7 +134,7 @@
        awardList = awardInfoDict[str(job)]
        partyAwardList += awardList
    if partyAwardList:
        PlayerControl.SendMailByKey('CeremonyHaiPoint', [playerID], partyAwardList, [playerName])
        PlayerControl.SendMailByKey('NewCeremonyHaiPoint', [playerID], partyAwardList, [playerName])
    return
def __IsAtFCAction():
@@ -189,11 +189,11 @@
    
    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
@@ -257,7 +257,7 @@
    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