hxp
10 天以前 902447caa0c5c7b31dd3add5cb69053915f18fca
562 【武将招募】新增月卡特权心愿招募不限次数-服务端
1个文件已修改
4 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
@@ -888,7 +888,9 @@
    GameWorld.DebugLog("    公共免费心愿次数! gridNum=%s,wishLibID=%s,preOutTotal=%s,canFreeCnt=%s" 
                       % (gridNum, wishLibID, preOutTotal, canFreeCnt), playerID)
    
    if preOutTotal >= canFreeCnt:
    if treasureType in TreasureType_HeroCallList and PlayerGoldInvest.GetInvestState(curPlayer, ChConfig.InvestType_Month):
        GameWorld.DebugLog("    月卡特权心愿免费")
    elif preOutTotal >= canFreeCnt:
        if not curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TreasureWishUseItem % (treasureType, wishLibID)):
            GameWorld.DebugLog("    玩家心愿卡未启用,走默认随机规则! gridNum=%s,wishLibID=%s" % (gridNum, wishLibID), playerID)
            return