From af59a3f9a261876ceb78afc0f3d5b39b3571a4e4 Mon Sep 17 00:00:00 2001 From: chenxi Date: Fri, 19 May 2023 17:05:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E5=8A=9B=E4=B8=8D=E8=B6=B3=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E5=BC=B9=E5=87=BA=E6=9D=A5=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E4=BD=93=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/module/chapter/chapter_manager.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/app/module/chapter/chapter_manager.lua b/lua/app/module/chapter/chapter_manager.lua index 831a3aae..82dadaa6 100644 --- a/lua/app/module/chapter/chapter_manager.lua +++ b/lua/app/module/chapter/chapter_manager.lua @@ -32,8 +32,9 @@ function ChapterManager:startFight() if cost then vitCostNum = GFunc.getRewardNum(cost) end - if vitCostNum > DataManager.BagData.ItemData:getVit() then + if vitCostNum > DataManager.BagData.ItemData:getVit() then -- 体力不足 GFunc.showItemNotEnough(GConst.ItemConst.ITEM_ID_VIT) + ModuleManager.CommerceManager:showBuyVitUI() return end local parmas = {