From 776cf3759b9801f3795ee975cd77078f505b90d6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 06 一月 2024 14:49:08 +0800
Subject: [PATCH] 10071 【后端】灵宠改版

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index be4e983..58f8200 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -344,7 +344,7 @@
     if curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ClientCustomScene):
         PlayerFB.DoExitCustomScene(curPlayer)
         
-    PetControl.DoLogic_PetLoadMapOK(curPlayer)
+    #PetControl.DoLogic_PetLoadMapOK(curPlayer)
     
     # 恢复视野,刷新自己的视野
     curPlayer.SetVisible(True)
@@ -566,7 +566,7 @@
         DataRecordPack.DR_PlayerLogin(curPlayer)
         EventReport.WriteEvent_login(curPlayer)
         #---玩家上线, 宠物逻辑处理---
-        PetControl.DoLogic_PetInfo_OnLogin(curPlayer, tick)
+        #PetControl.DoLogic_PetInfo_OnLogin(curPlayer, tick)
         
         PlayerFamily.FamilyPlayerOnLoginCross(curPlayer)
         
@@ -652,7 +652,7 @@
     PlayerRefineStove.DoOnLogin(curPlayer, tick)
     
     #---玩家上线, 宠物逻辑处理---
-    PetControl.DoLogic_PetInfo_OnLogin(curPlayer, tick)
+    #PetControl.DoLogic_PetInfo_OnLogin(curPlayer, tick)
     PlayerPet.OnPlayerPetLogin(curPlayer)
     
     #要在SetCanMove之后做这个事情, 否则OnEnter不会卡住玩家
@@ -1483,7 +1483,7 @@
     #===========================================================================
     
     #初始化宠物 通知客户端
-    PetControl.Sync_PetInfo_ChangeMap(curPlayer, tick)
+    #PetControl.Sync_PetInfo_ChangeMap(curPlayer, tick)
 
     #通知GameServer自己现在的地图
     curPlayer.Sync_GameServer_MapID()
@@ -1742,7 +1742,7 @@
     EventShell.EventResponse_OnMapEx(curPlayer)
     
     #触发切换地图宠物逻辑
-    PetControl.DoLogic_PetLoadMapOK(curPlayer)
+    #PetControl.DoLogic_PetLoadMapOK(curPlayer)
 
     #---检查是否卡障碍---
     curMap = GameWorld.GetMap()
@@ -2249,7 +2249,7 @@
         return
 
     #出战宠物同时移动
-    PetControl.FightPetFollowMove(curPlayer, sendPack_StartX, sendPack_StartY)
+    #PetControl.FightPetFollowMove(curPlayer, sendPack_StartX, sendPack_StartY)
     
     
     return
@@ -4510,7 +4510,7 @@
         #直接取db中配置的复活点
         PlayerControl.PlayerResetWorldPos(curPlayer, gameMap.GetRebornMapID(), gameMap.GetRebornMapX(), gameMap.GetRebornMapY(), False)
     #重新召唤宠物
-    PlayerPet.AutoSummonPet(curPlayer)
+    #PlayerPet.AutoSummonPet(curPlayer)
     
     #复活成功,重置状态
     PlayerControl.ChangePlayerAction(curPlayer, IPY_GameWorld.paNull)
@@ -6160,7 +6160,7 @@
         #出战宠物同时移动
         if moveType == 0 or tick - fightPet.GetActionTick() > 300:
     
-            PetControl.FightPetFollowMove(curPlayer,sendPack_SeverPosX, sendPack_SeverPosY)
+            #PetControl.FightPetFollowMove(curPlayer,sendPack_SeverPosX, sendPack_SeverPosY)
             fightPet.SetCurAction(IPY_GameWorld.laNPCNull)
             
     return True

--
Gitblit v1.8.0