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

Stamina bonus exp isn't working !

bradette19

Member
Joined
May 25, 2011
Messages
97
Reaction score
6
Location
Canada
Hello, my stamina bonus exp isn't working.

Here my player.lua

Code:
-- Stamina modifier
    if configManager.getBoolean(configKeys.STAMINA_SYSTEM) then
        useStamina(self)

        local staminaMinutes = self:getStamina()
        if staminaMinutes > 2400 and self:isPremium() then
            exp = exp * 1.5
        elseif staminaMinutes <= 840 then
            exp = exp * 0.5
        end
    end
        if self:getStorageValue(1234) >= os.time() then
        exp = exp * 2
        end
    if self:getVipDays() > 0 then
      exp = exp * 1.25
end
       
        return exp
end
 
Back
Top