From b4bf5938741dec2af74fedeec0b6b6922b200799 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Mon, 27 Jul 2015 21:08:07 +0200 Subject: [PATCH] Tweak the warrior life regen --- mods/hbhunger/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/hbhunger/init.lua b/mods/hbhunger/init.lua index 0661f21e..7639f1c4 100755 --- a/mods/hbhunger/init.lua +++ b/mods/hbhunger/init.lua @@ -113,9 +113,9 @@ minetest.register_globalstep(function(dtime) local timerquot = 1 -- By default regen 0.5 hearth every 10sec if pclasses.api.get_player_class(name) == "warrior" then - timerquot = 2 -- Black_Mithril armor = 0.5 hearth every 5sec + timerquot = 2 -- Black_Mithril armor = 0.5 hearth every 5.0sec elseif pclasses.api.util.does_wear_full_armor(name, "mithril", false) then - timerquot = 1.5 -- Mithril armor = 0.5 hearth every 7.5sec + timerquot = 1.33 -- Mithril armor = 0.5 hearth every 7.5sec end