From 7401f56246945b00aa91d12ba03ec3865c4c2b25 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 03 九月 2025 16:58:58 +0800 Subject: [PATCH] 121 【武将】武将系统-服务端(天赋洗炼改为仅使用洗炼ID,锁定天赋增加消耗洗炼道具个数;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEquipDecompose.py | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEquipDecompose.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEquipDecompose.py index ecb66db..1f17628 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEquipDecompose.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEquipDecompose.py @@ -26,7 +26,6 @@ import DataRecordPack import PlayerSuccess import GameFuncComm -import PlayerVip import ItemControler import random import json @@ -155,7 +154,6 @@ awardItemDict = {} eatEquipAwardExDict = IpyGameDataPY.GetFuncEvalCfg("EquipDecomposeAward2", 1, {}) eatEquipAwardItemID = IpyGameDataPY.GetFuncCfg("EquipDecomposeAward", 4) - petEatItemAddExpPer = PlayerVip.GetPrivilegeValue(curPlayer, ChConfig.VIPPrivilege_EatItem) itemPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptItem) for i, index in enumerate(expIndexList): eatItem = itemPack.GetAt(index) @@ -213,9 +211,7 @@ % (index, baseExp, itemCnt, addExp, totalAddExp)) # 先检索可吃列表,防止升级过程中吃掉原来不可吃的[index, 物品实例, 基础经验] eatItemList.append([eatItemID, itemCnt, baseExp, addExp]) - if petEatItemAddExpPer: - totalAddExp += totalAddExp * petEatItemAddExpPer / ChConfig.Def_MaxRateValue - + PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_DecomposeEquip, allitemCnt) return eatItemList, totalAddExp, allitemCnt, awardItemDict -- Gitblit v1.8.0