From 5f3b500dd8efc188323d6e6ec2a74857e82142c8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 二月 2026 19:50:38 +0800
Subject: [PATCH] 1111 【后台】 扣除玩家物品、扣除玩家货币命令支持;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
index 7abef51..1db9771 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
@@ -29,7 +29,6 @@
 import BuffSkill
 import FBLogic
 import SkillShell
-import PetControl
 import random
 import OperControlManager
 import DataRecordPack
@@ -1245,7 +1244,6 @@
     atkObjType = attacker.GetGameObjType()
     atkObjID = attacker.GetID()  # 攻击方ID    
     mapID = GameWorld.GetMap().GetMapID()
-    DataRecordPack.DR_PlayerDead(atkObjType, atkObjID, defender, mapID)
         
     return
 
@@ -1920,7 +1918,7 @@
     
     #宠物找到主人进入战斗状态,光环技能不进入
     if curNPC.GetGameNPCObjType() == IPY_GameWorld.gnotPet:
-        curPlayer = PetControl.GetPetOwner(curNPC)
+        curPlayer = None
         
         if curPlayer != None and GameObj.GetHP(curPlayer) > 0:
             if curSkill == None or curSkill.GetSkillType() not in ChConfig.Def_NoBattleState_List: 

--
Gitblit v1.8.0