mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +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
|
||||
local reinforced = pclasses.api.util.does_wear_full_armor(pname, "reinforcedleather", true)
|
||||
if reinforced then
|
||||
sprint.increase_maxstamina(pname, 20)
|
||||
sprint.increase_maxstamina(pname, 40)
|
||||
else
|
||||
sprint.increase_maxstamina(pname, 10)
|
||||
sprint.increase_maxstamina(pname, 30)
|
||||
end
|
||||
minetest.log("action", "[PClasses] Player " .. pname .. " become a hunter")
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user