10416 【英文】【bt】【GM】【砍树】登录基金和幻境基金 完成后可以重置购买(重置关联的充值ID)
1个文件已修改
10 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py
@@ -27,6 +27,7 @@
import ItemControler
import IPY_GameWorld
import PlayerGubao
import PlayerCoin
import ChConfig
import time
@@ -144,6 +145,15 @@
        
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_ZhanlingFinishTime % zhanlingType, 0)
    SyncZhanlingInfo(curPlayer, zhanlingType)
    # 顺便重置关联的充值ID
    resetCTGIDList = []
    zhanlingCTGIDDict = IpyGameDataPY.GetFuncEvalCfg("Zhanling", 1)
    zhanlingCTGIDDictH = IpyGameDataPY.GetFuncEvalCfg("Zhanling", 3)
    resetCTGIDList += zhanlingCTGIDDict.get(str(zhanlingType), [])
    resetCTGIDList += zhanlingCTGIDDictH.get(str(zhanlingType), [])
    if resetCTGIDList:
        PlayerCoin.DoResetCTGCountByIDList(curPlayer, "ResetZhanling", resetCTGIDList)
    return
def __giveUngetAward(curPlayer, zhanlingType, backValue, activeState, activeStateH):