| | |
| | |
|
| | | void RefiningButton()//精炼按钮
|
| | | {
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | |
|
| | | if (itemModel == null)
|
| | | {
|
| | |
| | | }
|
| | |
|
| | |
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | if (itemModel == null)
|
| | | {
|
| | | return;
|
| | |
| | | }
|
| | |
|
| | | }
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | int WingLv2 = itemModel.config.LV;
|
| | | foreach (var key in dicWingUseDateValue.Keys)
|
| | | {
|
| | |
| | |
|
| | | void KeyRefiningButton()//一键精炼
|
| | | {
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | if (itemModel == null)
|
| | | {
|
| | | ServerTipDetails.DisplayNormalTip(Language.Get("EquipReinforceWin_WingRefLv_2"));
|
| | |
| | | //背包字典
|
| | |
|
| | | SinglePackModel rptItemPack = playerPack.GetSinglePackModel(PackType.Item);
|
| | | ItemModel putOnModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel putOnModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | if (rptItemPack == null || rptItemPack.GetPackModelIndexDict().Count == 0 || putOnModel == null)
|
| | | {
|
| | | return;
|
| | |
| | | void EquipmentPositionJudgment()//判断是否有穿戴翅膀
|
| | | {
|
| | | Backpacking();//物品读取
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | int itemID = 0;
|
| | | if (itemModel != null)
|
| | | {
|
| | |
| | | return;
|
| | | }
|
| | | EquipFirstTxt.SetActive(false);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | var config = WingRefineExpConfig.Get((int)itemModel.itemInfo.ItemID);
|
| | | int _modelID = config.Model;
|
| | | if (itemModel.itemInfo.ItemID == 3724)
|
| | |
| | | {
|
| | | WText.gameObject.SetActive(true);
|
| | |
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | |
|
| | | if (itemModel.GetUseDataModel((int)ItemUseDataKey.wingProgressValue) != null)
|
| | | {
|
| | |
| | | }
|
| | | void ItemSX(int _Equipped)//用于精炼度和边框变色的刷新
|
| | | {
|
| | | if (_Equipped == (int)RoleEquipType.retWing)
|
| | | if (_Equipped == (int)RoleEquipType.Wing)
|
| | | {
|
| | |
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | ;
|
| | | int ItemColor = modelInterface.GetItemQuality(itemModel.itemInfo.ItemID, itemModel.useDataDict);
|
| | | WingsBG.SetItemBackGround(ItemColor);
|
| | |
| | | }
|
| | |
|
| | |
|
| | | if (index == (int)RoleEquipType.retWing)
|
| | | if (index == (int)RoleEquipType.Wing)
|
| | | {
|
| | | WingsImage.gameObject.SetActive(false);
|
| | | IconButton.gameObject.SetActive(true);
|
| | |
| | | {
|
| | | int MaxMaxOrder = 0;
|
| | |
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | if (itemModel != null)
|
| | | {
|
| | | WingRefineExpConfig wingRefineExpConfig = WingRefineExpConfig.Get(itemModel.itemInfo.ItemID);
|
| | |
| | | List<int> ClassifyList = new List<int>();//存背包位置
|
| | | private void WingClassify()
|
| | | {
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | if (itemModel == null)
|
| | | {
|
| | | return;
|
| | |
| | | private int Sort2(int Index)
|
| | | {
|
| | | int Max = 0;
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | if (itemModel == null)
|
| | | {
|
| | | return 0;
|