妖精单抽提示数量错误修改

zhangqiang 2020-08-15 23:23:38 +08:00
parent e6468cd003
commit 1ac12b1721
2 changed files with 14 additions and 8 deletions

View File

@ -47,8 +47,8 @@ local jumpDic = {
end
end,
[JumpType.Arena] = function(data)--竞技场
-- local arenaDefend = FormationManager.GetFormationByID(FormationTypeDef.FORMATION_ARENA_DEFEND)
local arenaAttack = FormationManager.GetFormationByID(FormationTypeDef.FORMATION_ARENA_ATTACK)
local arenaDefend = FormationManager.GetFormationByID(FormationTypeDef.FORMATION_ARENA_DEFEND)
-- local arenaAttack = FormationManager.GetFormationByID(FormationTypeDef.FORMATION_ARENA_ATTACK)
--首次进入竞技场 将主线编队复制到竞技场防守、进攻编队
-- if #arenaAttack.teamHeroInfos==0 then

View File

@ -46,22 +46,28 @@ function this:OnShow(_parent,...)
local var
if _args[1] == RecruitType.Single then
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.Ten
this.rootText.text = "确认花费200妖晶进行1次神将召唤"
local d=RecruitManager.GetExpendData(RecruitType.Single)
this.rootText.text = string.format("确认花费%s妖晶进行1次神将召唤",d[2])
elseif _args[1] == RecruitType.QianKunBoxSingle then
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.QianKunBoxTen
this.rootText.text = "确认花费200妖晶抽取1次乾坤宝盒"
local d=RecruitManager.GetExpendData(RecruitType.QianKunBoxSingle)
this.rootText.text = string.format("确认花费%s妖晶抽取1次乾坤宝盒",d[2])
elseif _args[1] == RecruitType.TimeLimitSingle then
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.TimeLimitTen
this.rootText.text = "确认花费200妖晶进行1次限时召唤 "
local d=RecruitManager.GetExpendData(RecruitType.TimeLimitSingle)
this.rootText.text = string.format("确认花费%s妖晶进行1次限时召唤",d[2])
elseif _args[1] == RecruitType.Ten then
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.Ten
this.rootText.text = "确认花费2000妖晶进行10次神将召唤"
local d=RecruitManager.GetExpendData(RecruitType.Ten)
this.rootText.text = string.format("确认花费%s妖晶进行10次神将召唤",d[2])
elseif _args[1] == RecruitType.QianKunBoxTen then
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.QianKunBoxTen
this.rootText.text = "确认花费2000妖晶抽取10次乾坤宝盒"
local d=RecruitManager.GetExpendData(RecruitType.QianKunBoxTen)
this.rootText.text = string.format("确认花费%s妖晶抽取10次乾坤宝盒",d[2])
elseif _args[1] == RecruitType.TimeLimitTen then
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.TimeLimitTen
this.rootText.text = "确认花费2000妖晶进行10次限时召唤"
local d=RecruitManager.GetExpendData(RecruitType.TimeLimitTen)
this.rootText.text = string.format("确认花费%s妖晶进行10次限时召唤",d[2])
end
Util.AddOnceClick(this.btn,function()