• 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!

C++ Change the Stamina System

icekis

Member
Joined
Jan 18, 2018
Messages
91
Reaction score
5
Hi to everyone!

is it possible to make stamina system by level stages?

example: until level 200 player lost 1 stamina per minute. while being offline recover 1 stamina per minute.

Level 200 or above player lost 1 stamina per minute. while being offline recover 1 stamina per 2 minutes.


I am using TFS 0.4 and my stamina settings are:
Lua:
    rateStaminaLoss = 1
    rateStaminaGain = 3
    rateStaminaThresholdGain = 12
    staminaRatingLimitTop = 40 * 60
    staminaRatingLimitBottom = 14 * 60
    staminaLootLimit = 14 * 60
    rateStaminaAboveNormal = 1.5
    rateStaminaUnderNormal = 0.5
    staminaThresholdOnlyPremium = true
 
Back
Top