ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_PriWood.py
@@ -19,6 +19,7 @@ import NPCCommon import GameWorld import GameMap import ChConfig ##AI逻辑处理 @@ -36,7 +37,10 @@ #刷新自己的Buff npcControl.RefreshBuffState(tick) owner = NPCCommon.GetNpcObjOwnerDetail(curNPC) summonPlayerID = curNPC.GetDictByKey(ChConfig.Def_NPC_Dict_PriWoodPilePlayerID) if not summonPlayerID: return owner = GameWorld.GetObj(summonPlayerID, IPY_GameWorld.gotPlayer) if not owner: return