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

3 hours green stamina

In data/events/player.lua

Lua:
if configManager.getBoolean(configKeys.STAMINA_SYSTEM) then
        useStamina(self)
        local staminaMinutes = self:getStamina()
        if staminaMinutes > 2400 and self:isPremium() then
            exp = exp * 1.5
            self:setStaminaXpBoost(150)
        elseif staminaMinutes <= 840 then
            exp = exp * 0.5 --TODO destroy loot of people with 840- stamina
            self:setStaminaXpBoost(50)
        else
            self:setStaminaXpBoost(100)
        end
    end

Only change the time (calculated in minutes) to:
Code:
(staminaMinutes > 2340)
 
In data/events/player.lua

Lua:
if configManager.getBoolean(configKeys.STAMINA_SYSTEM) then
        useStamina(self)
        local staminaMinutes = self:getStamina()
        if staminaMinutes > 2400 and self:isPremium() then
            exp = exp * 1.5
            self:setStaminaXpBoost(150)
        elseif staminaMinutes <= 840 then
            exp = exp * 0.5 --TODO destroy loot of people with 840- stamina
            self:setStaminaXpBoost(50)
        else
            self:setStaminaXpBoost(100)
        end
    end

Only change the time (calculated in minutes) to:
Code:
(staminaMinutes > 2340)
but would it make the stamina bar appear in green as well?
 
Back
Top