From 540eced2499bf2814f3264c0d41eb0e9c52b9957 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 08 二月 2026 15:33:04 +0800
Subject: [PATCH] 462 【付费活动】限时冲刺-服务端(轮回殿)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActLunhuidian.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActLunhuidian.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActLunhuidian.py
index 9bc3a02..60d3fdb 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActLunhuidian.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActLunhuidian.py
@@ -24,6 +24,7 @@
import NetPackCommon
import ItemControler
import PlayerCoin
+import PlayerMail
import GameWorld
import ChConfig
@@ -176,7 +177,7 @@
return
GameWorld.Log("处理补发轮回奖励完毕: actNum=%s,roundType=%s,roundMax=%s,curRound=%s,curValue=%s,awardState=%s,mailItemList=%s"
% (actNum, roundType, roundMax, curRound, curValue, awardState, mailItemList), playerID)
- PlayerControl.SendMailByKey("LunhuidianUnget", [playerID], mailItemList)
+ PlayerMail.SendMailByKey("LunhuidianUnget", playerID, mailItemList)
return
def GetRoundSetValue(roundSet, setIndex): return roundSet[setIndex] if len(roundSet) > setIndex else 0
@@ -338,7 +339,9 @@
award = ChPyNetSendPack.tagMCActLunhuidianAward()
award.AwardIndex = awardIpyData.GetAwardIndex()
award.NeedValue = awardIpyData.GetNeedValue()
- for itemID, itemCount, isAuctionItem in awardIpyData.GetAwardItemList():
+ for itemInfo in awardIpyData.GetAwardItemList():
+ itemID, itemCount = itemInfo[:2]
+ isAuctionItem = itemInfo[2] if len(itemInfo) > 2 else 0
item = ChPyNetSendPack.tagMCActLunhuidianItem()
item.ItemID = itemID
item.ItemCount = itemCount
--
Gitblit v1.8.0