From 36ca116422692e921945cec810d36fc5c0951a93 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 04 九月 2025 11:51:18 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(满最大幸运时重置幸运为0)
---
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