From 6d101512ba4cb8e37a98ace6320a0b70c96efa2b Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 17 四月 2019 10:34:06 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/KnapSack/Logic/ItemTipsModel.cs | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/System/KnapSack/Logic/ItemTipsModel.cs b/System/KnapSack/Logic/ItemTipsModel.cs
index e4f0264..98121ef 100644
--- a/System/KnapSack/Logic/ItemTipsModel.cs
+++ b/System/KnapSack/Logic/ItemTipsModel.cs
@@ -18,8 +18,10 @@
public Dictionary<int, PetInfoConfig> unlockPetDict { get; private set; }
public Dictionary<int, HorseConfig> unlockMountDict { get; private set; }
+
private Dictionary<int, Dictionary<int, int>> petSkillDict = new Dictionary<int, Dictionary<int, int>>(); // 缂栧彿 瑙i攣闃剁骇 鎶�鑳�
private Dictionary<int, Dictionary<int, List<int>>> mountSkillDict = new Dictionary<int, Dictionary<int, List<int>>>(); // 缂栧彿 瑙i攣闃剁骇 鎶�鑳�
+
Dictionary<int, string> petAndMountQualityDict = new Dictionary<int, string>();
string expValueFormula = "";
Dictionary<int, string> exhaustedAttrFormula { get; set; }
@@ -412,7 +414,14 @@
WindowCenter.Instance.Open<BuyBoxInfoWin>();
break;
case ItemWinType.petMatWin:
- WindowCenter.Instance.Open<PetMatInfoWin>();
+ if (curAttrData.isPreview)
+ {
+ EquipTipUtility.Show(TipType.Normal, curAttrData.itemId);
+ }
+ else
+ {
+ EquipTipUtility.Show(curAttrData.guid);
+ }
break;
case ItemWinType.buyPetMatWin:
WindowCenter.Instance.Open<BuyPetMatInfoWin>();
@@ -1573,12 +1582,12 @@
case 125:
PetInfoConfig petInfo = unlockPetDict[config.EffectValueA1];
fightPower = petInfo.ShowFightPower;
- showPerfab.SetModelShow(petInfo.ID, ModelShowType.pet, Language.Get("TreasureEffect103"), fightPower);
+ showPerfab.SetModelShow(petInfo.ID, ModelShowType.Pet, Language.Get("TreasureEffect103"), fightPower);
return true;
case 124:
HorseConfig horseConfig = unlockMountDict[config.EffectValueA1];
fightPower = horseConfig.ShowFightPower;
- showPerfab.SetModelShow(horseConfig.Model, ModelShowType.mount, Language.Get("TreasureEffect103"), fightPower);
+ showPerfab.SetModelShow(horseConfig.Model, ModelShowType.Mount, Language.Get("TreasureEffect103"), fightPower);
return true;
}
bool isFashion = TryGetFashionFightPower(config, out fightPower);
--
Gitblit v1.8.0