ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_105.py
@@ -18,6 +18,7 @@
import AICommon
import ChConfig
import GameObj
import PetControl
Def_LastAI1ProTick = "LastAI1ProTick" # 最后一次执行tick
@@ -60,6 +61,10 @@
        posX, posY = petControl.GetMoveNearPos(curPlayer.GetPosX(), curPlayer.GetPosY(), 1)
        rolePet.ResetPos(posX, posY)
    
    if tick - rolePet.GetAttackTick() >= rolePet.GetAtkInterval():
        PetControl.PetFight(curPlayer, tick)
    #===========================================================================
    # skillManager = rolePet.GetSkillManager()
    # for index in range(0, skillManager.GetSkillCount()):