0312 鼓舞界面,副本打坐信息界面,珍宝阁砍价到负数,离线挂机
| | |
| | | : Language.Get("HaveInspired", StringUtility.Contact("<color=#109d06>",
|
| | | level * model.GetDungeonInspireUpper(PlayerDatas.Instance.baseData.MapID), "%</color>"));
|
| | | m_CoinInspireCheck.SetActive(coinInspire);
|
| | | m_AutoCoinInspire.SetActive(coinInspire);
|
| | | m_FairyInspireCheck.SetActive(fairyInspire);
|
| | | m_AutoFairyInspire.SetActive(fairyInspire);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | WindowCenter.Instance.Open<DungeonFairyFeastHintWin>();
|
| | | }
|
| | | }
|
| | | break;
|
| | | }
|
| | | else
|
| | | {
|
| | |
|
| | | dailyQuestModel.TryGetOpenTime((int)DailyQuestType.default3, out openTime);
|
| | | if (openTime.InOpenTime())
|
| | | { |
| | | ModelCenter.Instance.GetModel<FairyNewModel>().OnReceiveHelpMessage(_mission);
|
| | | if (!WindowCenter.Instance.IsOpen<FamilySitDungeonWin>())
|
| | | {
|
| | | WindowCenter.Instance.Open<FamilySitDungeonWin>();
|
| | | }
|
| | | break;
|
| | | }
|
| | | break;
|
| | | case DemonJarModel.DATA_MAPID:
|
| | |
| | | |
| | | void DisplayFamilyCutInfo() |
| | | { |
| | | int cutPrice = 0; |
| | | if (familyModel.familyZBGActions[1].Value3 > 0) |
| | | {
|
| | | price.text = "-" + familyModel.familyZBGActions[1].Value2; |
| | | |
| | | cutPrice = familyModel.zbgOrgPriceValue + (int)familyModel.familyZBGActions[1].Value2; |
| | | } |
| | | else |
| | | { |
| | | price.text = familyModel.familyZBGActions[1].Value2.ToString(); |
| | | cutPrice = familyModel.zbgOrgPriceValue - (int)familyModel.familyZBGActions[1].Value2; |
| | | } |
| | | |
| | | |
| | | totalInfo.text = Language.Get("FairyZBG2", familyModel.familyZBGActions.Count - 1, PlayerDatas.Instance.fairyData.fairy.Member.Count, |
| | | "SmallMoney" + familyModel.zbgPriceType, familyModel.zbgOrgPriceValue - familyModel.familyZBGActions[1].Value2); |
| | | "SmallMoney" + familyModel.zbgPriceType, cutPrice); |
| | | |
| | | cutObj.SetActive(familyModel.familyZBGActions.Count > 1); |
| | | |
| | |
| | | GlobalTimeEvent.Instance.secondEvent += OnSecondEvent;
|
| | | onHookModel.onHookTimeEvent += Display;
|
| | | itemScroller.OnRefreshCell += OnRefreshCell;
|
| | |
|
| | | //已打开不再自动打开
|
| | | onHookModel.openWinState = 0;
|
| | | Display();
|
| | | }
|
| | |
|