英雄解锁条件
This commit is contained in:
parent
d1c7f22f03
commit
5727821969
@ -161,7 +161,7 @@ function HeroEntity:canLvUp()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function HeroEntity:isUnlock()
|
function HeroEntity:isUnlock()
|
||||||
return self:getUnlcokChapter() <= DataManager.ChapterData:getMaxChapterId()
|
return self:getUnlcokChapter() < DataManager.ChapterData:getMaxChapterId()
|
||||||
end
|
end
|
||||||
|
|
||||||
function HeroEntity:isActived()
|
function HeroEntity:isActived()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user