From 31c49247fe0656416cf5cfc4f5b290d40b919d15 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 26 七月 2019 21:16:50 +0800
Subject: [PATCH] 860312 白蓝装从出售改成分解
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
index d2b1d95..59d4889 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
@@ -470,7 +470,8 @@
dropRet = NPCCommon.GetNPCDropInfoTJG(curPlayer, curPlayer.GetMapID(), npcID, killCnt)
if dropRet:
dropIDCountDict, auctionIDList, money = dropRet
- # 1. 出售为铜钱 2.放入背包 3.满则不继续给物品
+
+ # 1. 装备只能分解 2.放入背包 3.满则不继续给物品
for itemID, dropCount in dropIDCountDict.items():
if not ItemCommon.CheckPackHasSpace(curPlayer, IPY_GameWorld.rptItem):
break
@@ -483,10 +484,12 @@
itemControl = ItemControler.PlayerItemControler(curPlayer)
## 装备物品 白蓝直接换算铜钱
- if curItemData.GetType() in ChConfig.Def_EquipItemType_TJGAutoEat:
- if curItemData.GetItemColor() in [ShareDefine.Def_Item_Color_White, ShareDefine.Def_Item_Color_Blue]:
- money += curItemData.GetSilverPrice() * dropCount
- continue
+ #=======================================================================
+ # if curItemData.GetType() in ChConfig.Def_EquipItemType_TJGAutoEat:
+ # if curItemData.GetItemColor() in [ShareDefine.Def_Item_Color_White, ShareDefine.Def_Item_Color_Blue]:
+ # money += curItemData.GetSilverPrice() * dropCount
+ # continue
+ #=======================================================================
## 装备一件件给
if ItemCommon.GetIsEquip(curItemData):
@@ -542,13 +545,13 @@
continue
## 低评分紫装或非本职业
- if curItem.GetItemColor() != ShareDefine.Def_Item_Color_Purple:
+ if curItem.GetItemColor() > ShareDefine.Def_Item_Color_Purple:
continue
if curItem.GetType() not in ChConfig.Def_EquipItemType_TJGAutoEat:
continue
- # 被职业需要判断评分高低
+ # 本职业需要判断评分高低
if ItemCommon.CheckJob(curPlayer, curItem):
if curItem.GetType() not in equipScores:
# 没有评分说明装备位还是空的 不能吞噬
--
Gitblit v1.8.0