From a87120c155c48fa45b20a97c1a58bdbeb77318b7 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 20 二月 2019 16:54:13 +0800
Subject: [PATCH] 3335 物品相关类型重构
---
System/Strengthening/StrengtheningSripts.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/System/Strengthening/StrengtheningSripts.cs b/System/Strengthening/StrengtheningSripts.cs
index b00a4f8..141b8dc 100644
--- a/System/Strengthening/StrengtheningSripts.cs
+++ b/System/Strengthening/StrengtheningSripts.cs
@@ -563,9 +563,9 @@
if (Index == 9 || Index == 10)
{
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
- if (singlePack != null && singlePack.GetPackModelIndexDict().ContainsKey(Index))
+ if (singlePack != null && singlePack.GetAllItems().ContainsKey(Index))
{
- ItemModel item = singlePack.GetItemModelByIndex(Index);
+ ItemModel item = singlePack.GetItemByIndex(Index);
ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(Index), 0, 0);
if (_itemPM.levelMax > strengthengmodel._EqInfo[Index].EquipPartStarLV)//鏈�澶у彲鍗囬樁绛夌骇鍜屾湇鍔$瀵规瘮
@@ -588,9 +588,9 @@
continue;
}
- if (singlePack.GetPackModelIndexDict().ContainsKey(int.Parse(_locationSort[i])))
+ if (singlePack.GetAllItems().ContainsKey(int.Parse(_locationSort[i])))
{
- ItemModel item = singlePack.GetItemModelByIndex(int.Parse(_locationSort[i]));
+ ItemModel item = singlePack.GetItemByIndex(int.Parse(_locationSort[i]));
ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
if (strengthengmodel.EquipMax(int.Parse(_locationSort[i])) != 3)
{
--
Gitblit v1.8.0