名刀回炉改成名刀重铸

onepiece_demo_arena
wangzhenxing 2024-01-22 17:28:30 +08:00
parent beefc36516
commit f50cb684b0
2 changed files with 5 additions and 5 deletions

View File

@ -218,7 +218,7 @@ function this.ResetBtnOnClick()
end
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.PokemonResolve,lingshouConfig,allMaterials,2,function ()
NetManager.MagicSoldierReturnRequest(godwData.Did,function(msg)
PopupTipPanel.ShowTip("回炉成功")
PopupTipPanel.ShowTip("重铸成功")
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function()
GodWeaponManager.ResetGodWeapon(godwData.Did,1,0)
this.UpdateWin(GodWeaponManager.GetSingleWeaponData(godwData.Did))

View File

@ -67,8 +67,8 @@ function this:OnShow(_parent,...)
this.titleText.text=Language[11569]
this.confirmBtnText.text=Language[11570]
else
this.titleText.text="名刀回炉"
this.confirmBtnText.text="回炉"
this.titleText.text="名刀重铸"
this.confirmBtnText.text="重铸"
end
this.numImage.sprite = SetIcon(this.spLoader, id)
fun = args[4]
@ -77,7 +77,7 @@ function this:OnShow(_parent,...)
if type==1 then
this.infoTxt.text=string.format(Language[12213],coin,GetLanguageStrById(itemConfig[id].Name),GetLanguageStrById(lingshouConfig.Name),"%")
else
local str="确认花费<color=#FF0000>%s</color>%s将%s回炉为初始状态,并<color=#55C78AFF>100%s返还</color>养成消耗"
local str="确认花费<color=#FF0000>%s</color>%s将%s重铸为初始状态,并<color=#55C78AFF>100%s返还</color>养成消耗"
this.infoTxt.text=string.format(str,coin,GetLanguageStrById(itemConfig[id].Name),GetLanguageStrById(lingshouConfig.Name),"%")
end
@ -85,7 +85,7 @@ function this:OnShow(_parent,...)
if type==1 then
this.infoTxt.text=string.format(Language[12214],coin,GetLanguageStrById(itemConfig[id].Name),GetLanguageStrById(lingshouConfig.Name),"%")
else
local str="确认花费<color=#55C78AFF>%s</color>%s将%s回炉为初始状态,并<color=#55C78AFF>100%s返还</color>养成消耗"
local str="确认花费<color=#55C78AFF>%s</color>%s将%s重铸为初始状态,并<color=#55C78AFF>100%s返还</color>养成消耗"
this.infoTxt.text=string.format(str,coin,GetLanguageStrById(itemConfig[id].Name),GetLanguageStrById(lingshouConfig.Name),"%")
end
end