hxp
2024-11-26 aba9f71e75f2d956c621c9ad21593838e04fa312
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
@@ -159,7 +159,8 @@
        appointID = itemInfo[3] if len(itemInfo) > 3 else 0
        setAttrDict = {ShareDefine.Def_CItemKey_AppointID:appointID} if appointID else {}
        ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isAuctionItem, [IPY_GameWorld.rptItem], setAttrDict=setAttrDict)
    ItemControler.NotifyGiveAwardInfo(curPlayer, rewardItemList, "GoldGiftFirst")
    # 全服提示
    if len(rewardItemList) >= 2:
        PlayerControl.WorldNotify(0, "FirstPayReward1", [curPlayer.GetPlayerName(), rewardItemList[0][0], rewardItemList[1][0], giftDay])
@@ -515,6 +516,7 @@
    for itemInfo in itemList:
        itemID, itemCount = itemInfo[:2]
        ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem])
    ItemControler.NotifyGiveAwardInfo(curPlayer, itemList, "HistoryRecharge")
    
    # 更新已领取成功标记
    awardMark = pow(2, awardID)