From 8eb76b3e794589d5a8c6ca303b33d289dfb8ab59 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 23 一月 2026 11:58:45 +0800
Subject: [PATCH] 412 【挑战】定军阁-服务端(定军阁速战奖励改为取最终奖励不累加;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMingge.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMingge.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMingge.py
index d07c99b..8c66fc4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMingge.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMingge.py
@@ -50,7 +50,8 @@
 def OnMinggeTuiyan(index, clientData, tick):
     curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
     tyCount = clientData.Count
-    DoMinggeTuiyan(curPlayer, tyCount)
+    if not DoMinggeTuiyan(curPlayer, tyCount):
+        ItemCommon.SyncMakeItemAnswer(curPlayer, ShareDefine.Def_mitMGTuiyan, ChConfig.Def_ComposeState_Fail, 0)
     return
 
 def GetMGColorRateList(curPlayer):
@@ -181,7 +182,9 @@
     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_MGGanwuLV, updLV)
     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_MGGanwuExp, updExp)
     Sync_MinggeInfo(curPlayer)
-    return
+    
+    ItemCommon.SyncMakeItemAnswer(curPlayer, ShareDefine.Def_mitMGTuiyan, ChConfig.Def_ComposeState_Sucess, succCount)
+    return True
 
 #// B2 51 命格分解 #tagCSMinggeDecompose
 #

--
Gitblit v1.8.0