mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
New (increased) max stamina values
Adventurer : 10 Warrior : 20 Hunter without armor set : 30 Hunter with armor set : 40
This commit is contained in:
parent
5a9fa9cf63
commit
67630b4b15
@ -14,9 +14,9 @@ pclasses.api.register_class("hunter", {
|
|||||||
end
|
end
|
||||||
local reinforced = pclasses.api.util.does_wear_full_armor(pname, "reinforcedleather", true)
|
local reinforced = pclasses.api.util.does_wear_full_armor(pname, "reinforcedleather", true)
|
||||||
if reinforced then
|
if reinforced then
|
||||||
sprint.increase_maxstamina(pname, 20)
|
sprint.increase_maxstamina(pname, 40)
|
||||||
else
|
else
|
||||||
sprint.increase_maxstamina(pname, 10)
|
sprint.increase_maxstamina(pname, 30)
|
||||||
end
|
end
|
||||||
minetest.log("action", "[PClasses] Player " .. pname .. " become a hunter")
|
minetest.log("action", "[PClasses] Player " .. pname .. " become a hunter")
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user