英雄解锁条件

This commit is contained in:
xiekaidong 2023-04-20 21:43:03 +08:00
parent d1c7f22f03
commit 5727821969

View File

@ -161,7 +161,7 @@ function HeroEntity:canLvUp()
end
function HeroEntity:isUnlock()
return self:getUnlcokChapter() <= DataManager.ChapterData:getMaxChapterId()
return self:getUnlcokChapter() < DataManager.ChapterData:getMaxChapterId()
end
function HeroEntity:isActived()