From 73adb5f4c0fded408948712e5ab965054f624a3a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 14 八月 2024 16:37:18 +0800 Subject: [PATCH] 10238 【越南】【砍树】【主干】【港台】骑宠养成(增加骑宠养成活动;任务活动增加骑宠活动相关任务类型;商城增加可配置不重置限购次数;增加境界培养卡道具效果;增加法器生命、攻击、防御百分比属性;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py | 4 ++++ 1 files changed, 4 insertions(+), 0 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 4fa2f10..b2015f8 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 @@ -275,6 +275,8 @@ shopItem = ipyDataMgr.GetStoreByIndex(i) if not shopItem.GetLimitCnt(): continue + if shopItem.GetRefreshLimit(): + continue if shopItem.GetRefreshType() not in resetTypeList: continue dayBuyCntKey = ChConfig.Def_PDict_ShopItemDayBuyCnt % shopItem.GetID() @@ -295,6 +297,8 @@ shopItem = ipyDataMgr.GetStoreByIndex(i) if not shopItem.GetLimitCnt(): continue + if shopItem.GetRefreshLimit(): + continue if shopItem.GetShopType() not in shopTypeList: continue dayBuyCntKey = ChConfig.Def_PDict_ShopItemDayBuyCnt % shopItem.GetID() -- Gitblit v1.8.0