解锁判定
This commit is contained in:
parent
5b53c074b0
commit
18cd61d870
@ -367,7 +367,12 @@ end
|
||||
function HeroEntity:isUnlock()
|
||||
if self:isActived() then
|
||||
return true
|
||||
else
|
||||
if self:canLvUp() then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
local unlockChapter = self:getUnlcokChapter()
|
||||
if unlockChapter and unlockChapter <= DataManager.ChapterData:getMaxChapterId() then
|
||||
return true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user