parent
dbad362fae
commit
e347d0199e
|
|
@ -462,6 +462,7 @@ PanelType = {
|
||||||
FightPointPass = { 14, 3, 16 }, -- 新关卡
|
FightPointPass = { 14, 3, 16 }, -- 新关卡
|
||||||
SoulCrystal = { 14, 16 }, -- 魂晶
|
SoulCrystal = { 14, 16 }, -- 魂晶
|
||||||
Recruit = { 16, 19, 20 }, -- 聚灵神戒(群英征募)
|
Recruit = { 16, 19, 20 }, -- 聚灵神戒(群英征募)
|
||||||
|
RecruitJuling = { 16, 132 }, -- 法宝巨灵
|
||||||
TenRecruit = { 87, 16 }, -- 十连召唤(群英征募)
|
TenRecruit = { 87, 16 }, -- 十连召唤(群英征募)
|
||||||
ElementDrawCard = { 14, 74, 20 }, -- 元素神戒(元素招募)
|
ElementDrawCard = { 14, 74, 20 }, -- 元素神戒(元素招募)
|
||||||
SecretBox = { 16, 22, 21 }, -- 妖魂魔戒(秘盒开启)
|
SecretBox = { 16, 22, 21 }, -- 妖魂魔戒(秘盒开启)
|
||||||
|
|
|
||||||
|
|
@ -150,10 +150,10 @@ function this:SetUpHero()
|
||||||
else
|
else
|
||||||
go:SetActive(false)
|
go:SetActive(false)
|
||||||
end
|
end
|
||||||
LogError("i===================" .. i)
|
--LogError("i===================" .. i)
|
||||||
if i > 1 then
|
if i > 1 then
|
||||||
self.wishListObj[i]:SetActive(false)
|
self.wishListObj[i]:SetActive(false)
|
||||||
LogError("false false")
|
--LogError("false false")
|
||||||
end
|
end
|
||||||
Util.AddLongPressClick(go, function()
|
Util.AddLongPressClick(go, function()
|
||||||
UIManager.OpenPanel(UIName.RoleGetInfoPopup, false, heroId, 5)
|
UIManager.OpenPanel(UIName.RoleGetInfoPopup, false, heroId, 5)
|
||||||
|
|
|
||||||
|
|
@ -108,14 +108,19 @@ function WishEquipBuyOnePanel:OnOpen(...)
|
||||||
self.bg.gameObject:SetActive(true)
|
self.bg.gameObject:SetActive(true)
|
||||||
|
|
||||||
SoundManager.PlaySound(SoundConfig.UI_Siyuanzhen)
|
SoundManager.PlaySound(SoundConfig.UI_Siyuanzhen)
|
||||||
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Recruit })
|
--this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Recruit })
|
||||||
local args = { ... }
|
local args = { ... }
|
||||||
this.drop = args[1]
|
this.drop = args[1]
|
||||||
this.recruitType = args[2]
|
this.recruitType = args[2]
|
||||||
recType = args[3]
|
recType = args[3]
|
||||||
--LogError("sssssssssssssssssssss:" .. tostring(this.drop) .. "/" .. tostring(this.recruitType))
|
--LogError("sssssssssssssssssssss:" .. tostring(this.drop) .. "/" .. tostring(this.recruitType))
|
||||||
--self.singleConfig = ConfigManager.GetConfigDataByDoubleKey(ConfigName.LotterySetting, "LotteryType",
|
--self.singleConfig = ConfigManager.GetConfigDataByDoubleKey(ConfigName.LotterySetting, "LotteryType",
|
||||||
--TableRecruitType.Youqing, "PerCount", 1)
|
--TableRecruitType.Youqing, "PerCount", 1)
|
||||||
|
if this.recruitType == 185 then
|
||||||
|
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.RecruitJuling })
|
||||||
|
else
|
||||||
|
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Recruit })
|
||||||
|
end
|
||||||
self.singleConfig = ConfigManager.GetConfigData(ConfigName.LotterySetting, this.recruitType)
|
self.singleConfig = ConfigManager.GetConfigData(ConfigName.LotterySetting, this.recruitType)
|
||||||
--获取免费次数
|
--获取免费次数
|
||||||
--local currLottery = ConfigManager.GetConfigData(ConfigName.LotterySetting, RecruitType.FriendSingle)
|
--local currLottery = ConfigManager.GetConfigData(ConfigName.LotterySetting, RecruitType.FriendSingle)
|
||||||
|
|
|
||||||
|
|
@ -137,12 +137,17 @@ end
|
||||||
--界面打开时调用(用于子类重写)
|
--界面打开时调用(用于子类重写)
|
||||||
function WishEquipBuyTenPanel:OnOpen(...)
|
function WishEquipBuyTenPanel:OnOpen(...)
|
||||||
SoundManager.PlaySound(SoundConfig.UI_Siyuanzhen)
|
SoundManager.PlaySound(SoundConfig.UI_Siyuanzhen)
|
||||||
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Recruit })
|
|
||||||
-- this.itemIcon1.sprite=this.spLoader:LoadSprite(GetResourcePath(ItemConfig[SecretBoxManager.MainCost[2][1][1]].ResourceID))
|
-- this.itemIcon1.sprite=this.spLoader:LoadSprite(GetResourcePath(ItemConfig[SecretBoxManager.MainCost[2][1][1]].ResourceID))
|
||||||
local args = { ... }
|
local args = { ... }
|
||||||
this.drop = args[1]
|
this.drop = args[1]
|
||||||
this.recruitType = args[2]
|
this.recruitType = args[2]
|
||||||
--LogError("ssssssssssssssssssss" .. tostring(this.recruitType))
|
--LogError("ssssssssssssssssssss" .. tostring(this.recruitType))
|
||||||
|
if this.recruitType == 186 then
|
||||||
|
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.RecruitJuling })
|
||||||
|
else
|
||||||
|
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Recruit })
|
||||||
|
end
|
||||||
recType = args[3]
|
recType = args[3]
|
||||||
local d
|
local d
|
||||||
d = RecruitManager.GetExpendData(this.recruitType)
|
d = RecruitManager.GetExpendData(this.recruitType)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue