1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

[pclasses & mff_pclasses] Misc. fixes

- PClasses : Fix adventurer to not reset stats
 - MFF PClasses : Fix hunter to flush bonus ownership data upon leaving
   the game
This commit is contained in:
LeMagnesium
2017-04-19 23:57:30 +02:00
parent f6341038af
commit 8c0a0a5547
2 changed files with 3 additions and 4 deletions

View File

@ -17,10 +17,6 @@ pclasses.api.register_class("adventurer", {
on_unassigned = function(pname)
end,
on_update = function(pname)
local staminavalue = 10
local manavalue = 100
sprint.set_maxstamina(pname, staminavalue)
mana.setmax(pname, manavalue)
end,
informations = pclasses.api.textify("Adventurer, the casual players, or hardcore players. Whatever end of the spectrum\n" ..
"you're in, adventurer will bring you what you want : no advantages, no help. Maybe you\n" ..