From 9b1eca8955321ce7ba8a8151f7c5c169da5fbff6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 06 八月 2025 15:25:29 +0800
Subject: [PATCH] 80 【常规】背包-服务端(去除使用物品多余验证;同步使用物品封包;)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
index 0311541..e1e95ad 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
@@ -517,14 +517,6 @@
         self.turnFight.clearFight()
         return
     
-    def playerLogin(self, curPlayer):
-        self.turnFight.curPlayer = curPlayer
-        return
-    
-    def playerOffline(self, curPlayer):
-        self.turnFight.curPlayer = None
-        return
-    
 def GetMainFightMgr(curPlayer):
     ## 获取主线战斗管理
     olPlayer = PlayerOnline.GetOnlineMgr().GetOnlinePlayer(curPlayer)
@@ -1412,7 +1404,7 @@
                 continue
             skillTypeID = useSkill.GetSkillTypeID()
             # 常规攻击优先xp
-            if SkillCommon.isXPSkill(useSkill) and turnBattleType == ChConfig.TurnBattleType_Normal:
+            if SkillCommon.isAngerSkill(useSkill) and turnBattleType == ChConfig.TurnBattleType_Normal:
                 if curXP < xpMax:
                     continue
                 useCnt = -1 # xp技能优先释放
@@ -1704,11 +1696,11 @@
         return
     
     skillID = curSkill.GetSkillID() if curSkill else 0
-    isXP = SkillCommon.isXPSkill(curSkill)
+    isXP = SkillCommon.isAngerSkill(curSkill)
     if isXP:
         GameObj.SetXP(curObj, 0)
     elif curSkill:
-        if SkillCommon.isTurnNormalAtkSkill(curSkill):
+        if SkillCommon.isTurnNormalSkill(curSkill):
             addXP = IpyGameDataPY.GetFuncCfg("AngerXP", 3)
             AddTurnFightXP(curObj, addXP, "skillID:%s" % skillID)
             

--
Gitblit v1.8.0