mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
Reduce the Warrior life regeneration
This commit is contained in:
parent
e48e76bffc
commit
9ca3ac9383
@ -111,9 +111,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 5.0sec
|
||||
timerquot = 1.42 -- Black_Mithril armor = 0.5 hearth every 7.0sec
|
||||
elseif pclasses.api.util.does_wear_full_armor(name, "mithril", false) then
|
||||
timerquot = 1.33 -- Mithril armor = 0.5 hearth every 7.5sec
|
||||
timerquot = 1.17 -- Mithril armor = 0.5 hearth every 8.5sec
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user