hxp
2023-07-19 ab19e6fe9799e56970f955b0a123a59d362cdf76
8896 【后端】特权令(修复默认参数同步bug)
3个文件已修改
15 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFuncSysPrivilege.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_BossFirstKill.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -5978,11 +5978,12 @@
def SyncCollectionItemInfo(curPlayer, addExp, addMoney, addZhenQi, syncItemInfoList, collectNPCID=0):
    return #暂不同步
def SyncCollNPCTime(curPlayer, npcIDList=[]):
def SyncCollNPCTime(curPlayer, npcIDList=None):
    ## 同步采集NPC功能号采集次数
    
    isSyncAll = False
    if not npcIDList:
    if npcIDList == None:
        npcIDList = []
        isSyncAll = True
        ipyDataMgr = IpyGameDataPY.IPY_Data()
        for index in xrange(ipyDataMgr.GetCollectNPCCount()):
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFuncSysPrivilege.py
@@ -147,8 +147,9 @@
    Sync_FuncSysPrivilege(curPlayer, [funcSysID])
    return
def Sync_FuncSysPrivilege(curPlayer, syncIDList=[]):
    if not syncIDList:
def Sync_FuncSysPrivilege(curPlayer, syncIDList=None):
    if syncIDList == None:
        syncIDList = []
        ipyDataMgr = IpyGameDataPY.IPY_Data()
        lastIpyData = ipyDataMgr.GetFuncSysPrivilegeByIndex(ipyDataMgr.GetFuncSysPrivilegeCount() - 1)
        maxFuncID = lastIpyData.GetFuncSysID()
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_BossFirstKill.py
@@ -139,8 +139,9 @@
    Sync_BossFirstKillState(curPlayer, [bossID])
    return
def Sync_BossFirstKillState(curPlayer, syncBossIDList=[], isForce=False):
    if not syncBossIDList:
def Sync_BossFirstKillState(curPlayer, syncBossIDList=None, isForce=False):
    if syncBossIDList == None:
        syncBossIDList = []
        ipyDataMgr = IpyGameDataPY.IPY_Data()
        for index in xrange(ipyDataMgr.GetBOSSFirstKillCount()):
            ipyData = ipyDataMgr.GetBOSSFirstKillByIndex(index)