1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00: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:
BUISSON-DEBON Quentin 2016-05-04 00:36:26 +02:00
parent 5a9fa9cf63
commit 67630b4b15

View File

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