From 060faec7b10ad7a3ff33a3dd2453ee7ebc1bb24d Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 21 九月 2018 11:12:09 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Store/PetAndMountPushWin.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/System/Store/PetAndMountPushWin.cs b/System/Store/PetAndMountPushWin.cs
index a836a2a..bdbb800 100644
--- a/System/Store/PetAndMountPushWin.cs
+++ b/System/Store/PetAndMountPushWin.cs
@@ -11,6 +11,7 @@
[SerializeField] RawImage rawImag;
[SerializeField] Button closeBtn;
[SerializeField] RichText m_Goto;
+ [SerializeField] Text fightPower;
StoreModel storeModel { get { return ModelCenter.Instance.GetModel<StoreModel>(); } }
ItemTipsModel tipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
@@ -65,11 +66,13 @@
titleText.text = Language.Get("StorePetPush");
PetInfoConfig petInfo = tipsModel.unlockPetDict[storeConfig.ItemID];
var config = Config.Instance.Get<NPCConfig>(petInfo.ID);
+ fightPower.text = petInfo.ShowFightPower.ToString();
UI3DModelExhibition.Instance.BeginShowNPC(petInfo.ID, config.UIModeLOffset, config.UIModelRotation,rawImag);
break;
case 41:
titleText.text = Language.Get("StoreMountPush");
HorseConfig horseConfig = tipsModel.unlockMountDict[storeConfig.ItemID];
+ fightPower.text = horseConfig.ShowFightPower.ToString();
UI3DModelExhibition.Instance.BeginShowHourse(horseConfig.Model,rawImag);
break;
}
--
Gitblit v1.8.0