• 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 Stamina happy hour

drax skylon

o.O DrAx O.o
Joined
Sep 9, 2008
Messages
225
Reaction score
3
Hello I just wanna know how do I change the time of happy hour (50% more exp) of the stamina...

I know that it is changed in:
Code:
rateStaminaThresholdGain: X

But I do not know how do I change it :p

for exemple...In my server, premium players have happy hour till stamina gets 40 hours and 59 minutes and in my config.lua you can see this line:
Code:
rateStaminaThresholdGain = 12
but what I've to put in my config.lua if I want that premium players have happy hour till stamina gets 39 hours and 59 minutes?

Thank you! ;)
 
config.lua
Code:
      -- Stamina
        -- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
        -- rateStaminaHits multiplies every hit done a creature, which are later
        -- multiplied by player attack speed.
        -- rateStaminaGain is multiplying every second of logged out time, eg:
        -- 60 * 1000 / 3 = 20 seconds, what gives 1 stamina minute for 3 being logged off.
        -- rateStaminaThresholdGain is dividing in case the normal gain (that is
        -- multiplied by rateStaminaGain, btw.) passed above threshold, eg:
        -- 60 * 1000 / 3 = 20 / 4 = 5 seconds (3 * 4 = 12 minutes for 1 stamina minute).
        -- staminaRatingLimit* is in minutes.
 
Back
Top