| | |
| | | import NPCAI
|
| | | import ChConfig
|
| | | import NPCCommon
|
| | | import NPCCustomRefresh
|
| | | import time
|
| | | import math
|
| | | import PlayerActivity
|
| | |
| | | # @remarks 函数详细说明.
|
| | | def __Func_NPCRefreshPoint(tick):
|
| | | #NPC刷新点处理逻辑
|
| | | NPCCustomRefresh.ProcessAllNPCRefresh(tick)
|
| | | return
|
| | |
|
| | |
|
| | |
| | | # if tick - curNPC.GetAttackTick() < ChConfig.TYPE_NPC_Tick_ProcessAI:
|
| | | # #攻击间隔没有到, 返回
|
| | | # return
|
| | | if curNPC.GetDictByKey(ChConfig.Def_Obj_Dict_TurnFightPosInfo):
|
| | | #GameWorld.DebugLog("回合制NPC不处理AI!", curNPC.GetID())
|
| | | return
|
| | | npcID = curNPC.GetNPCID()
|
| | | endTick = GameWorld.GetGameFB().GetGameFBDictByKey(ChConfig.Def_FBDict_NPCShowEndTick % npcID)
|
| | | if endTick:
|