xdh
2018-10-29 3af0d2b770ad197bed90f2c23e65489c4c35fe13
2245 【1.2.0】许愿池,没有出现领奖按钮
1个文件已修改
6 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWishingWell.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWishingWell.py
@@ -73,6 +73,8 @@
        if actCostRebateInfo.get(ShareDefine.ActKey_State):
            SyncWishingWellInfo(curPlayer)
            SyncWishingWellPlayerInfo(curPlayer)
        elif __GetItemInfoByData(curPlayer, WellType_Get, 0)[0]:
            SyncWishingWellPlayerInfo(curPlayer)
    return
def OnDay(curPlayer):
@@ -126,7 +128,7 @@
        __DoActWishingRefresh(curPlayer, 1, True)
 
        SyncWishingWellInfo(curPlayer)
        SyncWishingWellPlayerInfo(curPlayer)
    SyncWishingWellPlayerInfo(curPlayer)
    return True
@@ -168,6 +170,8 @@
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_WishingWellAwardTime, 0 if isOver else curTime)
    if mailItemList:
        PlayerControl.SendMailByKey('WishPool', [curPlayer.GetID()], mailItemList)
        if state == -1:
            SyncWishingWellPlayerInfo(curPlayer)
    GameWorld.DebugLog('许愿池距离时间 passDay=%s,mailItemList=%s,saveItemList=%s,isOver=%s'%(passDay, mailItemList, saveItemList, isOver), curPlayer.GetID())
    return