神兵改成名刀
parent
9dcd29e6a3
commit
59796d72df
|
@ -2873,8 +2873,8 @@ ExpeditionNodeType = {
|
|||
[50] = "万能碎片",
|
||||
[51] = "法相",
|
||||
[52] = "置换卡",
|
||||
[53] = "神兵",
|
||||
[54] = "神兵碎片",
|
||||
[53] = "名刀",
|
||||
[54] = "名刀碎片",
|
||||
[55] = "法术",
|
||||
[56] = "礼物",
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ function GodWeaponGetInfoPopup:InitComponent()
|
|||
this.spLoader = SpriteLoader.New()
|
||||
|
||||
this.BtnBack=Util.GetGameObject(self.transform, "bg/btnBack")
|
||||
Util.GetGameObject(self.transform, "bg/title"):GetComponent("Text").text="查看神兵"
|
||||
Util.GetGameObject(self.transform, "bg/title"):GetComponent("Text").text="查看名刀"
|
||||
this.liveRoot=Util.GetGameObject(self.transform, "bg/liveRoot"):GetComponent("Image")
|
||||
this.heroName = Util.GetGameObject(self.transform, "bg/nameInfo/nameText"):GetComponent("Text")
|
||||
this.starGrid = Util.GetGameObject(self.transform, "bg/PokemonInfo/starGrid(Clone)")
|
||||
|
|
|
@ -6,7 +6,7 @@ local shenBingConfig = ConfigManager.GetConfig(ConfigName.ShenBing)
|
|||
local TabBox = require("Modules/Common/TabBox")
|
||||
local _TabData={
|
||||
[1] = { default = "UI_hz_gonghui_19", select = "UI_hz_gonghui_18", name = Language[10201] },
|
||||
--[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "神兵" },
|
||||
--[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "名刀" },
|
||||
}
|
||||
local _TabFontColor = { default = Color.New(130 / 255, 128 / 255, 120 / 255, 1),
|
||||
select = Color.New(243 / 255, 235 / 255, 202 / 255, 1)}
|
||||
|
@ -20,7 +20,7 @@ local redPointList = {}
|
|||
function this:InitComponent(gameObject)
|
||||
this.spLoader = SpriteLoader.New()
|
||||
this.ChipItemList={}--存储itemview 重复利用
|
||||
Util.GetGameObject(gameObject, "GodWeaponListPanel_List/name"):GetComponent("Text").text = "神兵列表"
|
||||
Util.GetGameObject(gameObject, "GodWeaponListPanel_List/name"):GetComponent("Text").text = "名刀列表"
|
||||
this.tabBox = Util.GetGameObject(gameObject, "GodWeaponListPanel_List/TabBox")
|
||||
|
||||
this.ScrollParentView1 = Util.GetGameObject(gameObject, "GodWeaponListPanel_List/ScrollParentView1")
|
||||
|
@ -97,7 +97,7 @@ function this.OnClickTabBtn(_curIndex)
|
|||
this.SingPokemonDataShow(go, pokemonList[index])
|
||||
end)
|
||||
this.NoneImage:SetActive(#pokemonList <= 0)
|
||||
this.NoneImageText.text = "未获得神兵"
|
||||
this.NoneImageText.text = "未获得名刀"
|
||||
elseif curIndex == 1 then
|
||||
this.ScrollParentView1:SetActive(false)
|
||||
this.ScrollParentView2:SetActive(true)
|
||||
|
@ -113,7 +113,7 @@ function this.OnClickTabBtn(_curIndex)
|
|||
this.SingPokemonChipDataShow(go, pokemonChipList[index])
|
||||
end)
|
||||
this.NoneImage:SetActive(#pokemonChipList <= 0)
|
||||
this.NoneImageText.text = "未获得神兵碎片"
|
||||
this.NoneImageText.text = "未获得名刀碎片"
|
||||
end
|
||||
-- this.ScrollView:ForeachItemGO(function(index, go)
|
||||
-- Timer.New(function()
|
||||
|
|
|
@ -9,7 +9,7 @@ local upZhenIndex
|
|||
function this:InitComponent(gameObject)
|
||||
this.spLoader = SpriteLoader.New()
|
||||
|
||||
Util.GetGameObject(gameObject, "GodWeaponListPanel_UpWar/name"):GetComponent("Text").text = "选择上阵神兵"
|
||||
Util.GetGameObject(gameObject, "GodWeaponListPanel_UpWar/name"):GetComponent("Text").text = "选择上阵名刀"
|
||||
|
||||
this.ItemPre = Util.GetGameObject(gameObject, "GodWeaponListPanel_UpWar/ItemPre")
|
||||
local v2 = Util.GetGameObject(gameObject, "GodWeaponListPanel_UpWar/ScrollParentView"):GetComponent("RectTransform").rect
|
||||
|
@ -19,7 +19,7 @@ function this:InitComponent(gameObject)
|
|||
this.ScrollView.moveTween.Strength = 1
|
||||
this.NoneImage = Util.GetGameObject(gameObject, "GodWeaponListPanel_UpWar/NoneImage")
|
||||
this.NoneImageText = Util.GetGameObject(gameObject, "GodWeaponListPanel_UpWar/NoneImage/TextImage/Text"):GetComponent("Text")
|
||||
this.NoneImageText.text = "无可上阵神兵"
|
||||
this.NoneImageText.text = "无可上阵名刀"
|
||||
end
|
||||
|
||||
function this:BindEvent()
|
||||
|
|
|
@ -611,7 +611,7 @@ function RewardItemSingleShowPopup:OnShow()
|
|||
this.checkHeroText.text = "查看灵兽"
|
||||
elseif rg and rg.ShowItem and itemConfigData.ItemType == ItemType.GodWeaponChip then
|
||||
this.checkHero:SetActive(true)
|
||||
this.checkHeroText.text = "查看神兵"
|
||||
this.checkHeroText.text = "查看名刀"
|
||||
else
|
||||
this.checkHero:SetActive(false)
|
||||
end
|
||||
|
|
|
@ -67,7 +67,7 @@ function this:OnShow(_parent,...)
|
|||
this.titleText.text=Language[11569]
|
||||
this.confirmBtnText.text=Language[11570]
|
||||
else
|
||||
this.titleText.text="神兵回炉"
|
||||
this.titleText.text="名刀回炉"
|
||||
this.confirmBtnText.text="回炉"
|
||||
end
|
||||
this.numImage.sprite = SetIcon(this.spLoader, id)
|
||||
|
|
|
@ -55,7 +55,7 @@ function this:OnShow(_parent,...)
|
|||
this.infoTxt.text=Language[11576]
|
||||
this.titleText.text=Language[11573]
|
||||
else
|
||||
this.infoTxt.text="确认要分解所选的神兵或神兵碎片?"
|
||||
this.infoTxt.text="确认要分解所选的名刀或名刀碎片?"
|
||||
this.titleText.text="确认分解"
|
||||
end
|
||||
LogError("#args[1]====="..#args[1])
|
||||
|
|
|
@ -32,7 +32,7 @@ function this:InitComponent(gameObject)
|
|||
this.scrollbar = Util.GetGameObject(gameObject,"Content/Resolve_GodWeapon/Scrollbar"):GetComponent("Scrollbar")
|
||||
this.Empty = Util.GetGameObject(gameObject,"Content/Resolve_GodWeapon/Empty")
|
||||
local v21 = Util.GetGameObject(gameObject, "Content/Resolve_GodWeapon/ItemListRoot"):GetComponent("RectTransform").rect
|
||||
Util.GetGameObject(gameObject, "Content/Resolve_GodWeapon/Empty/Bg/Text"):GetComponent("Text").text="无可分解神兵"
|
||||
Util.GetGameObject(gameObject, "Content/Resolve_GodWeapon/Empty/Bg/Text"):GetComponent("Text").text="无可分解名刀"
|
||||
this.chipObj=Util.GetGameObject(gameObject, "Content/Resolve_GodWeapon/chipObj")
|
||||
this.btn_remove=Util.GetGameObject(gameObject, "Content/Resolve_GodWeapon/chipObj/btn_remove")
|
||||
this.btn_add=Util.GetGameObject(gameObject, "Content/Resolve_GodWeapon/chipObj/btn_add")
|
||||
|
|
Loading…
Reference in New Issue