From 57278219692f2bb46b13e283571efed16ddd915c Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Thu, 20 Apr 2023 21:43:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B1=E9=9B=84=E8=A7=A3=E9=94=81=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/userdata/hero/hero_entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/userdata/hero/hero_entity.lua b/lua/app/userdata/hero/hero_entity.lua index 796807a6..17414561 100644 --- a/lua/app/userdata/hero/hero_entity.lua +++ b/lua/app/userdata/hero/hero_entity.lua @@ -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()