From 167357e8425d0dc12f41ed5fdfd4d95f2c2a5aaf Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 29 五月 2025 19:19:20 +0800 Subject: [PATCH] 16 卡牌服务端(删除旧版xml任务、镖车等不需要内容) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py | 18 +----------------- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py index b316024..5666fad 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py @@ -49,7 +49,6 @@ import ChPyNetSendPack import NetPackCommon import GameWorld -import EventShell import IPY_GameWorld import ItemControler import ChConfig @@ -107,17 +106,6 @@ # @return 远程商店的npc def GetDirectNpcID(): return 0 - -#--------------------------------------------------------------------- -##结束事件 -# @param curPlayer 玩家实例 -# @param tick 时间戳 -# @return 返回值真, 逻辑运行成功 -# @remarks 结束事件 -def ExitEvent(curPlayer, tick): - - EventShell.DoExitEvent(curPlayer) - return True #--------------------------------------------------------------------- ##请求商店物品列表 @@ -809,8 +797,7 @@ if not sendMailKey: if not ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, event=[ChConfig.ItemGive_BuyItem, isForceEvent, dataDict]): GameWorld.ErrLog("购买商城物品放入背包失败! itemID=%s, itemCount=%s" % (itemID, itemCount), curPlayer.GetPlayerID()) - EventShell.EventRespons_BuyItem(curPlayer, itemID, itemCount) - + if ipyData.GetNotifyMark() and itemID == mainItemID: PlayerControl.WorldNotify(0, ipyData.GetNotifyMark(), [curPlayer.GetName(), mainItemID, userData]) @@ -824,9 +811,6 @@ PlayerControl.SendMailByKey(sendMailKey, [curPlayer.GetID()], totalItemList, detail=dataDict) else: ItemControler.NotifyGiveAwardInfo(curPlayer, totalItemList, ChConfig.ItemGive_BuyItem, dataEx=shopType) - #触发任务购买物品 - EventShell.EventRespons_ShopBuy(curPlayer, shopType) - #curPlayer.ShopResult(itemIndex, IPY_GameWorld.tsrShopOK) SyncShoppingResult(curPlayer, itemIndex, clientBuyCount) if shopType == ShopType_FairyCeremony: -- Gitblit v1.8.0