From 7b83168dd103ded6d3e3214ec0584f0a6319c821 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 18 一月 2025 23:43:24 +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 +
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py | 6 ++++--
4 files changed, 18 insertions(+), 3 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 1f71aa2..463faf3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -2013,6 +2013,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/PlayerCompensationTube.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
index b085424..bdaae0f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
@@ -171,8 +171,10 @@
ItemCommon.MakeEquipGS(curCreateItem)
- if isPaimaiMail and ItemCommon.CheckItemIsEquip(curCreateItem):
- EventShell.EventRespons_BuyAuctionEquip(curPlayer, curCreateItem.GetItemColor())
+ if isPaimaiMail:
+ EventShell.EventRespons_BuyAuction(curPlayer)
+ if ItemCommon.CheckItemIsEquip(curCreateItem):
+ EventShell.EventRespons_BuyAuctionEquip(curPlayer, curCreateItem.GetItemColor())
#放入玩家背包
ItemControler.PlayerItemControler(curPlayer).PutInItem(IPY_GameWorld.rptItem, curCreateItem,
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