1
0
镜像自地址 https://github.com/sys4-fr/server-nalc.git 已同步 2025-10-16 07:35:24 +02:00

Tweak the warrior life regen

这个提交包含在:
Ombridride
2015-07-27 21:08:07 +02:00
父节点 951346643c
当前提交 b4bf593874

查看文件

@@ -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