From bedbe88f1eedbcc77ef04ba6207b4997d38163d8 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 18 一月 2025 23:49:22 +0800
Subject: [PATCH] 10331 【越南】【英语】【BT】【砍树】境界修改 - 增加拍卖任务事件
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AuctionHouseGiveItem.py | 3 ++-
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py | 11 +++++++++++
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py | 1 +
3 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
index c72dd08..91ccb6b 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -2007,6 +2007,17 @@
RunQuestEvent(curPlayer, "buyauctionequip", color, Def_RunQuestType_Normal)
return
+def EventRespons_AddAuction(curPlayer):
+ # 上架拍品
+ RunQuestEvent(curPlayer, "addauction", 0, Def_RunQuestType_Normal)
+ return
+
+def EventRespons_BuyAuction(curPlayer):
+ # 购买拍品
+ RunQuestEvent(curPlayer, "buyauction", 0, Def_RunQuestType_Normal)
+ return
+
+
def EventRespons_OnMoneyChange(curPlayer, moneyType):
# 货币变更时
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py
index 7f6d046..9503270 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py
@@ -196,6 +196,7 @@
#扣物品
if curPlayer and not familyID:
+ EventShell.EventRespons_AddAuction(curPlayer)
if ItemCommon.CheckItemIsEquip(curItem):
EventShell.EventRespons_AddAuctionEquip(curPlayer, curItem.GetItemColor())
sellCount = itemInfo[1] if len(itemInfo) == 2 else 0
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AuctionHouseGiveItem.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AuctionHouseGiveItem.py
index d5e9d4f..299ccfe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AuctionHouseGiveItem.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AuctionHouseGiveItem.py
@@ -59,7 +59,8 @@
if userData:
curCreateItem.SetUserData(userData, len(userData))
ItemCommon.MakeEquipGS(curCreateItem)
-
+
+ EventShell.EventRespons_BuyAuction(curPlayer)
if ItemCommon.CheckItemIsEquip(curCreateItem):
EventShell.EventRespons_BuyAuctionEquip(curPlayer, curCreateItem.GetItemColor())
--
Gitblit v1.8.0