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

Lua Questions about Stamina TFS 0.4

icekis

Member
Joined
Jan 18, 2018
Messages
95
Reaction score
6
Could someone explain the real function of each line in the stamina system?


LUA:
    rateStaminaLoss = 1
    rateStaminaGain = 3
    rateStaminaThresholdGain = 12
    staminaRatingLimitTop = 40 * 60
    staminaRatingLimitBottom = 14 * 60
    staminaLootLimit = 14 * 60
    rateStaminaAboveNormal = 1.5
    rateStaminaUnderNormal = 0.5
    staminaThresholdOnlyPremium = true




What means:
LUA:
rateStaminaThresholdGain = 12


Thank you all!
 
BUMP

could someone explain what rateStaminaThresholdGain means?

I'm not well versed in this.. but here goes.


Code:
    rateStaminaLoss = 1
-- this will be how much you lose, everyime your stamina is 'drained' through activity.
    rateStaminaGain = 3
-- when your offline this is how much you gain per minute, after the initial 10 minute waiting period.
    rateStaminaThresholdGain = 12
-- this is one of two things..
---- When your in LimitBottom, your gain rate is faster
---- When your in LimitTop, your gain rate is slower
---- Maybe both? xD
    staminaRatingLimitTop = 40 * 60
-- this shows the upper range, where you'll get increased experience gain
    staminaRatingLimitBottom = 14 * 60
-- this shows the lower range, where you'll get decreased experience gain
    staminaLootLimit = 14 * 60
-- this shows when you'll stop getting loot
    rateStaminaAboveNormal = 1.5
-- experieince rate, when in UpperLimit
    rateStaminaUnderNormal = 0.5
-- experience rate when in LowerLimit
    staminaThresholdOnlyPremium = true
-- if set to true, only premium members get extra experience when in UpperLimit

All above are guesses, based on how I remember Tibia's stamina system working.

Hope that helps.
 
Back
Top