hch
2018-08-28 8a4d5abf1da4698a3b84b31cc3b36ef6841fbdb3
Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode
2个文件已修改
10 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Dogz.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py
@@ -521,9 +521,10 @@
        if curFamilyLV <= 0:
            curFamilyLV = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FamilyLV)
        return curFamilyLV < limitValue
    if shopNPCID in [15]: # 限时特惠商店
        playerCreateRoleDays = GameWorld.GetCreateRoleDays(curPlayer)
        return playerCreateRoleDays != limitValue
    if shopNPCID in [15]: # 开服特惠商店
        #playerCreateRoleDays = GameWorld.GetCreateRoleDays(curPlayer)
        openServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay)+1
        return openServerDay != limitValue
    #烟花狂欢
    if itemIndex in IpyGameDataPY.GetFuncEvalCfg('CeremonyFireParty', 1, {}).values():
        return not PlayerFairyCeremony.IsCanBuyFireworks(curPlayer, itemIndex)
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Dogz.py
@@ -24,6 +24,7 @@
import GameObj
import time
import random
import ChConfig
#{(标识点):[npcid,单个点数量,刷新间隔秒, 每次刷新只数, 第一次刷新只数]}
@@ -210,6 +211,8 @@
    return
def OnOnlineCntChange(key, tick):
    if GameWorld.GetMap().GetMapID() != ChConfig.Def_FBMapID_Dogz:
        return
    bossid = IpyGameDataPY.GetFuncCfg('DogzFBRefreshCfg', 2)
    if str(bossid) not in key:
        return