From f617f0ed07c39cceb8f6cebda6986fd21fe02479 Mon Sep 17 00:00:00 2001 From: Luan Santos Date: Thu, 28 Dec 2023 11:01:53 -0800 Subject: [PATCH] Apply suggestions from code review --- config.lua.dist | 2 +- src/config/configmanager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.lua.dist b/config.lua.dist index 4a97d94173b..f30da1842f8 100644 --- a/config.lua.dist +++ b/config.lua.dist @@ -373,7 +373,7 @@ showScriptsLogInConsole = false criticalChance = 10 inventoryGlowOnFiveBless = false adventurersBlessingLevel = 21 -skulledDeathLoseStoreItem = true +skulledDeathLoseStoreItem = false experienceDisplayRates = true -- configure attack base on Fist Fighting skill/experience -- multiplierSpeedOnFist * 5 (multiplies the value obtained from the player fist skill and multiplies it * 5) max 25 is recommended due minTicks limits else player stop attack diff --git a/src/config/configmanager.cpp b/src/config/configmanager.cpp index ceb10545c13..9c7257e29c7 100644 --- a/src/config/configmanager.cpp +++ b/src/config/configmanager.cpp @@ -218,7 +218,7 @@ bool ConfigManager::load() { loadIntConfig(L, CRITICALCHANCE, "criticalChance", 10); loadIntConfig(L, ADVENTURERSBLESSING_LEVEL, "adventurersBlessingLevel", 21); - loadBoolConfig(L, SKULLED_DEATH_LOSE_STORE_ITEM, "skulledDeathLoseStoreItem", true); + loadBoolConfig(L, SKULLED_DEATH_LOSE_STORE_ITEM, "skulledDeathLoseStoreItem", false); loadIntConfig(L, FORGE_MAX_ITEM_TIER, "forgeMaxItemTier", 10); loadIntConfig(L, FORGE_COST_ONE_SLIVER, "forgeCostOneSliver", 20); loadIntConfig(L, FORGE_SLIVER_AMOUNT, "forgeSliverAmount", 3);