神魂提交

dev_chengFeng
jiaoyangna 2021-11-05 10:24:41 +08:00
parent 5ac1f04718
commit 8fd4b5e367
1 changed files with 6 additions and 2 deletions

View File

@ -83,8 +83,12 @@ function GeneralBigPopup_RoleGodSoulUp:BindEvent()
-- return
-- end
-- end)
Util.AddClick(self.sureBtn,function()
Util.AddClick(self.sureBtn,function()
local curLv = GodSoulManager.GetGodSoulLv(self.curHeroData.dynamicId)
if self.lv > curLv + 1 then
PopupTipPanel.ShowTip("需要激活上一个神魂才可解锁!")
return
end
if self:CheckEmptyList() then
PopupTipPanel.ShowTip("请选择神将!")
return