From 2a3e2e53da4ff2005fc84f702483fd3f29b9c569 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 17 十月 2025 20:28:44 +0800
Subject: [PATCH] 237 【福利内容】每日任务/每周任务/章节奖励-服务端(章节奖励英雄之路,成就系统)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
index 3e672e3..213b448 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
@@ -31,7 +31,6 @@
 import GameFuncComm
 import IpyGameDataPY
 import CrossPlayerData
-import PlayerSuccess
 import PlayerActLunhuidian
 import PlayerActTask
 import PlayerPet
@@ -115,17 +114,10 @@
     if not curPlayer.GetInitOK():
         return
     
-    customMapID = PlayerControl.GetCustomMapID(curPlayer)
-    if customMapID:
-        ipyMapData = IpyGameDataPY.GetIpyGameData("ChinMap", customMapID)
-        if not ipyMapData or not ipyMapData.GetCanRide():
-            PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0")
-            return
-    else:
-        #地图不允许骑马 RideLimit_lhs_0
-        if not GameWorld.GetMap().GetMapCanRide():
-            PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0")
-            return
+    #地图不允许骑马 RideLimit_lhs_0
+    if not GameWorld.GetMap().GetMapCanRide():
+        PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0")
+        return
         
     #检查玩家状态,只有在空闲状态才能上马
     if curPlayer.GetPlayerVehicle() != IPY_GameWorld.pvNull :
@@ -642,7 +634,6 @@
         DataRecordPack.DR_NewHorseByClassUp(curPlayer, updClassLV, 0)
         # 记录开服活动马匹阶级
         #OpenServerCampaign.UpdOpenServerCampaignRecordData(curPlayer, ShareDefine.Def_Campaign_Type_Horse, updClassLV)
-        PlayerSuccess.UptateSuccessProgress(curPlayer, ShareDefine.SuccType_HorseAllLV, updClassLV)
         
     Sync_HorseClassData(curPlayer)
     # 刷属性,更新排行榜

--
Gitblit v1.8.0