From ecc0fff10c9e6a5d510e1f97370a5fa29233746e Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期四, 13 九月 2018 23:10:06 +0800 Subject: [PATCH] 1 buff减层导致buff消失时 添加刷NPC属性 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Dogz.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Dogz.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Dogz.py index 6dc06e1..f7fa69a 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Dogz.py +++ b/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 -- Gitblit v1.8.0