From 95aa50bb42b51ca4095adcdccc439cd6b480219b Mon Sep 17 00:00:00 2001 From: Fang Date: Thu, 20 Jul 2023 20:28:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B1=E9=9B=84=E5=8D=87=E7=BA=A7=E6=8A=A5?= =?UTF-8?q?=E9=94=99fix?= 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 1bdfaa6e..7cb0e3db 100644 --- a/lua/app/userdata/hero/hero_entity.lua +++ b/lua/app/userdata/hero/hero_entity.lua @@ -183,7 +183,7 @@ function HeroEntity:setLv(lv) end self.data.lv = lv ModuleManager.TaskManager:addTaskProgress(GConst.TaskConst.TASK_TYPE.X_HERO_LV_UP, lv) - self:setAttrDirty() + self:setBaseAttrDirty() end function HeroEntity:getCfgId()