From e4eccd8e4b2ee4758faf94eb88edbe5b5325fa1d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 31 十月 2025 11:59:59 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(词条技能1011 1012 1013:增加属性ID19-怒气恢复加成;增加技能伤害计算类型7-按最后受到攻击的技能伤害;5001效果支持永久buff不扣除回合数;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
index 322f90c..eb0a5e2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
@@ -20,13 +20,10 @@
 import GameWorldProcess
 import CrossRealmPlayer
 import DataRecordPack
-import IpyGameDataPY
-import PlayerSuccess
 import ReadChConfig
 import ShareDefine
 import PyGameData
 import FBCommon
-import GameMap
 import GameObj
 
 import random
@@ -551,8 +548,6 @@
         
     #注册玩家离开副本时间
     gameFBMgr.SetPlayerLogoffTick(0)
-    
-    PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_FeastRedPack_EnterMap, 1, [gameMapID])
     
     if gameFBMgr.HaveFBPlayer(curPlayerID):
         #已经注册了这个玩家, 不清除已注册的玩家的字典信息
@@ -1311,9 +1306,6 @@
         if mapID in value:
             return key
         
-    if mapID in FBCommon.GetGeneralTrainMapIDList():
-        return "GeneralTrain"
-    
     #for key , value in ReadChConfig.GetEvalChConfig("MapID_ProcessPy").items():
     #    if mapID in value:
     #        return key
@@ -2246,14 +2238,14 @@
 
 def OnTurnFightRequest(curPlayer, mapID, funcLineID, tagType, tagID, valueList):
     ## 回合战斗请求 - 地图验证
-    # @return: 是否允许
+    # @return: 是否允许, 后端验证通过的funcLineID
     do_FBLogic_ID = __GetFBLogic_MapID(mapID)
     
     callFunc = GameWorld.GetExecFunc(FBProcess, "GameLogic_%s.%s" % (do_FBLogic_ID, "OnTurnFightRequest"))
     
     if callFunc == None:
         # 默认不限制
-        return True
+        return True, funcLineID
     
     return callFunc(curPlayer, mapID, funcLineID, tagType, tagID, valueList)
 

--
Gitblit v1.8.0