• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

stamina

Matrix Powraca

Banned User
Joined
Feb 6, 2013
Messages
107
Reaction score
0
Witam.
Jak ustawić prawidłowo w configu staminę , by stamina się odnawiała tyle samo = ile nie było gracza online...czyli jak nie było 1h, to 1h staminy żeby urosło...

oraz żeby po deadzie , stamina wzrosła na full lub ewentualnie 10%...

-- Stamina
rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true
 
rateStaminaGain = 1 - daje tyle ile był offline, a tamto musisz sobie w creaurescripts zrobić
 
weź słownik od angielskiego to się domyślisz

możesz mieć problem ze zrozumieniem tego:

Code:
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5

w wypadku above normal to chodzi o premium stamine
a w przypadku under normal to chyba jest poniżej 14h staminy
 
Back
Top