Skip to content

Commit

Permalink
fix: stamina green delay (opentibiabr#2884)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chapeleiiro authored Oct 2, 2024
1 parent 1d921ae commit d94e23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/global.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function addStamina(playerId, ...)

local actualStamina = player:getStamina()

if actualStamina > 2400 and actualStamina < 2520 then
if actualStamina > 2340 and actualStamina < 2520 then
delay = configManager.getNumber(configKeys.STAMINA_GREEN_DELAY) * 60 * 1000 -- Stamina Green 12 min.
elseif actualStamina == 2520 then
player:sendTextMessage(
Expand Down

0 comments on commit d94e23a

Please sign in to comment.