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
1 changed files with 2 additions and 2 deletions

View File

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