灵兽名称修改

onepiece_demo_arena
wangzhenxing 2024-01-18 21:27:53 +08:00
parent e8eb3bc4b9
commit 3a7f3fb6ba
3 changed files with 6 additions and 6 deletions

View File

@ -179,7 +179,7 @@ function this:BuildRateData(actType,UpItem,upItemList)
if m and m.Reward[1] == showData.monsterId then
local _config = ConfigManager.GetConfigData(ConfigName.SpiritAnimal,m.Reward[1])
local readingName = _config.ReadingName or _config.Name
table.insert(_upRateList,{id = m.Reward[1],tag="灵兽UP!",name = readingName,value = m.WeightShow,color = "AD4152"})
table.insert(_upRateList,{id = m.Reward[1],tag="圣器UP!",name = readingName,value = m.WeightShow,color = "AD4152"})
break
end
end
@ -369,9 +369,9 @@ function this:RefreshMonsterRate(UpMonster,_rateList)
valueList1 = valueList1 - _rateList[i].value
table.insert(rateList,_rateList[i])
end
table.insert(rateList,{tag="金色",name="金色灵兽或碎片",value=valueList1,color = "BDB69C"})
table.insert(rateList,{tag="紫色",name="紫色灵兽或碎片",value=this:ReculateRate(list2),color = "BDB69C"})
table.insert(rateList,{tag="蓝色",name="蓝色灵兽或碎片",value=this:ReculateRate(list3),color = "BDB69C"})
table.insert(rateList,{tag="金色",name="金色圣器或碎片",value=valueList1,color = "BDB69C"})
table.insert(rateList,{tag="紫色",name="紫色圣器或碎片",value=this:ReculateRate(list2),color = "BDB69C"})
table.insert(rateList,{tag="蓝色",name="蓝色圣器或碎片",value=this:ReculateRate(list3),color = "BDB69C"})
table.insert(rateList,{tag="其他",name="其他奖励",value=this:ReculateRate(list4),color = "BDB69C"})
return rateList
end

View File

@ -608,7 +608,7 @@ function RewardItemSingleShowPopup:OnShow()
this.checkHeroText.text = "查看英雄"
elseif rg and rg.ShowItem and itemConfigData.ItemType == ItemType.LingShouChip then
this.checkHero:SetActive(true)
this.checkHeroText.text = "查看灵兽"
this.checkHeroText.text = "查看圣器"
elseif rg and rg.ShowItem and itemConfigData.ItemType == ItemType.GodWeaponChip then
this.checkHero:SetActive(true)
this.checkHeroText.text = "查看名刀"

View File

@ -57,7 +57,7 @@ function this:OnShow(_parent,...)
curMonsterId = _args[2]
this.titleText.text=Language[11565]
this.tip.text = "长按头像可查看灵兽详情"
this.tip.text = "长按头像可查看圣器详情"
local monsterData = ConfigManager.GetAllConfigsDataByKey(ConfigName.SpiritAnimalSummon,"ActivityID",ActData.activityId)