| | |
| | | }
|
| | | if (m_DoubleToggle.isOn)//双倍强化
|
| | | {
|
| | | DoubleStrength(ListIndex, ListCount); |
| | | DoubleStrength(ListIndex, ListCount);
|
| | | }
|
| | | else//单倍强化
|
| | | {
|
| | |
| | | }
|
| | | if (godBeastModel.IsNeedEquipment())
|
| | | {
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("DogzStrengConfirm"), (bool isOk) => |
| | | ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("DogzStrengConfirm"), (bool isOk) =>
|
| | | {
|
| | | if (isOk)
|
| | | {
|
| | |
| | |
|
| | | }
|
| | |
|
| | | |
| | |
|
| | | }
|
| | | private void ChooseToModify(int locationMarker)
|
| | | {
|
| | |
| | | m_ExpSlider.ResetStage();
|
| | | m_ExpSlider.value = 1;
|
| | | m_Slider.gameObject.SetActive(false);
|
| | | int NeedExp =0;
|
| | | int NeedExp = 0;
|
| | | if (DogZLv > 0)
|
| | | {
|
| | | var Dogz_EquipConfig_1 = DogzEquipPlusConfig.GetEquipplaceAndLevel(GodBeastPart, DogZLv - 1);
|
| | | var Dogz_EquipConfig_2 = DogzEquipPlusConfig.GetEquipplaceAndLevel(GodBeastPart, DogZLv - 2);
|
| | | NeedExp = Dogz_EquipConfig_1.upExpTotal- Dogz_EquipConfig_2.upExpTotal;
|
| | | NeedExp = Dogz_EquipConfig_1.upExpTotal - Dogz_EquipConfig_2.upExpTotal;
|
| | | }
|
| | | m_ExpNum.text = NeedExp + "/" + NeedExp;
|
| | | }
|
| | |
| | | if (IudetDogzEquipPlus != null)
|
| | | {
|
| | | SingleProficiency += IudetDogzEquipPlus[1];
|
| | | DoubleProficiency += IudetDogzEquipPlus[1]+ itemModel.chinItemModel.EffectValueA1;
|
| | | DoubleProficiency += IudetDogzEquipPlus[1] + itemModel.chinItemModel.EffectValueA1;
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | var Dogz_EquipConfig = DogzEquipPlusConfig.GetEquipplaceAndLevel(GodBeastPart, DogZLv - 1);
|
| | | NeedExp -= Dogz_EquipConfig.upExpTotal;
|
| | | }
|
| | | int[] AttType = ConfigParse.GetMultipleStr<int>(DogzEquipConfig.attType);
|
| | | int[] AttValue = ConfigParse.GetMultipleStr<int>(DogzEquipConfig.attValue);
|
| | | int[] AttType = DogzEquipConfig.attType;
|
| | | int[] AttValue = DogzEquipConfig.attValue;
|
| | | if (ToExpTotal == 0)
|
| | | {
|
| | | m_Slider.gameObject.SetActive(false);
|
| | |
| | | }
|
| | | int lv = godBeastModel.QualityLimit[m_DogZItemModel.chinItemModel.ItemColor];
|
| | | var IudetDogzEquipPlus = m_DogZItemModel.GetUseDataModel((int)ItemUseDataKey.Def_IudetDogzEquipPlus);
|
| | | if (IudetDogzEquipPlus != null && IudetDogzEquipPlus.Count>1)
|
| | | if (IudetDogzEquipPlus != null && IudetDogzEquipPlus.Count > 1)
|
| | | {
|
| | | ToExpTotal += IudetDogzEquipPlus[1];
|
| | | }
|
| | |
| | | }
|
| | | m_DogZItemModel = ItemModel;
|
| | | var IudetDogzEquipPlus = ItemModel.GetUseDataModel((int)ItemUseDataKey.Def_IudetDogzEquipPlus);
|
| | | if (IudetDogzEquipPlus != null && IudetDogzEquipPlus.Count>1)
|
| | | if (IudetDogzEquipPlus != null && IudetDogzEquipPlus.Count > 1)
|
| | | {
|
| | | DogZLv = IudetDogzEquipPlus[0];
|
| | | if (DogZLv > 0)
|
| | |
| | |
|
| | | private void SetAddAttributes(DogzEquipPlusConfig DogzEquipConfig, int GodBeastPart, int toLv)//设置预览的属性
|
| | | {
|
| | | int[] AttType = ConfigParse.GetMultipleStr<int>(DogzEquipConfig.attType);
|
| | | int[] AttValue = ConfigParse.GetMultipleStr<int>(DogzEquipConfig.attValue);
|
| | | int[] AttType = DogzEquipConfig.attType;
|
| | | int[] AttValue = DogzEquipConfig.attValue;
|
| | | var DogzEquipToConfig = DogzEquipPlusConfig.GetEquipplaceAndLevel(GodBeastPart, toLv);
|
| | | int[] AttTypeTo = ConfigParse.GetMultipleStr<int>(DogzEquipToConfig.attType);
|
| | | int[] AttValueTo = ConfigParse.GetMultipleStr<int>(DogzEquipToConfig.attValue);
|
| | | int[] AttTypeTo = DogzEquipToConfig.attType;
|
| | | int[] AttValueTo = DogzEquipToConfig.attValue;
|
| | | if (AttType.Length > 1)
|
| | | {
|
| | | m_TextAttributes1.gameObject.SetActive(true);
|
| | |
| | | m_TextAttributes2.gameObject.SetActive(false);
|
| | | m_TextAttributesAdd2.gameObject.SetActive(false);
|
| | | var DogzEquipConfig = DogzEquipPlusConfig.GetEquipplaceAndLevel(GodBeastPart, DogZLv);
|
| | | int[] AttType = ConfigParse.GetMultipleStr<int>(DogzEquipConfig.attType);
|
| | | int[] AttValue = ConfigParse.GetMultipleStr<int>(DogzEquipConfig.attValue);
|
| | | int[] AttType = DogzEquipConfig.attType;
|
| | | int[] AttValue = DogzEquipConfig.attValue;
|
| | | if (AttType.Length > 1)
|
| | | {
|
| | | m_Text_Attributes3.gameObject.SetActive(true);
|