From a451e68aed69b3c936d4afe50a0cf3c43680e90c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 27 十月 2025 11:01:10 +0800
Subject: [PATCH] 302 【公会】BOSS讨伐-服务端(Taofa命令增加添加家成员讨伐数据)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py | 19 ++++---------------
1 files changed, 4 insertions(+), 15 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..7575923 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 :
@@ -640,9 +632,6 @@
if updClassLV > horseLV:
# 玩家马匹进阶
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