From b5925852cb30e1e832ac7834bc6376fe8559fc7d Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Tue, 11 Nov 2025 10:58:08 +0800 Subject: [PATCH] config --- lua/app/config/const.lua | 30 ++++++++++++++++++++++- lua/app/userdata/dungeon/dungeon_data.lua | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/lua/app/config/const.lua b/lua/app/config/const.lua index 95152754..44c0e8e2 100644 --- a/lua/app/config/const.lua +++ b/lua/app/config/const.lua @@ -523,9 +523,37 @@ local const = { }, ["dungeon_rune_buylimit"]={ ["value"]=5 + }, + ["dungeon_rune_show_reward"]={ + ["reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=2, + ["id_for_nothing"]="VA==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=18, + ["id_for_nothing"]="VwA=", + ["num"]=1, + ["num_for_nothing"]="Vw==" + } + } } } local config = { -data=const,count=87 +data=const,count=88 } return config \ No newline at end of file diff --git a/lua/app/userdata/dungeon/dungeon_data.lua b/lua/app/userdata/dungeon/dungeon_data.lua index 136dacf9..31e189bc 100644 --- a/lua/app/userdata/dungeon/dungeon_data.lua +++ b/lua/app/userdata/dungeon/dungeon_data.lua @@ -132,7 +132,7 @@ function DungeonData:getShowRewards(moduleKey) if moduleKey == GConst.DungeonConst.MODULE_KEY_DUNGEON_DAILY then return GFunc.getConstCost("dungeon_show_reward", true) elseif moduleKey == ModuleManager.MODULE_KEY.RUNES_OPEN then - return GFunc.getConstCost("dungeon_show_reward", true) + return GFunc.getConstCost("dungeon_rune_show_reward", true) -- elseif moduleKey == ModuleManager.MODULE_KEY.TOWER then -- return GFunc.getConstCost("tower_show_reward", true) -- elseif moduleKey == ModuleManager.MODULE_KEY.WORLD_BOSS then