Eldran
New Member
- Joined
- Jul 13, 2009
- Messages
- 85
- Reaction score
- 1
Hiho :>
I will told you the problems that are occurring with my stamina system .. when character logged off stamina does not regenerate
Config.lua:
Thx all answers !
- - - Updated - - -
Tibia version 8.50
Update 2
In 1 hour logout regenerates from 40:54 to 40:56 (two minutes) LOL ;p
- - - Updated - - -
~ Refresh ~
Nothing ?
I would like if regenerates 1 min stamina for 3 minutes loged out
~ New test ~
Loged out with 41:37 stamina, 12 minutes offline and when i login i have 41:09 stamina.. are loosing stamina when offline
- - - Updated - - -
bump
I will told you the problems that are occurring with my stamina system .. when character logged off stamina does not regenerate
Config.lua:
-- 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.
rateStaminaLoss = 1
rateStaminaGain = 1000 / 3
rateStaminaThresholdGain = 4
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = "yes"
Thx all answers !
- - - Updated - - -
Tibia version 8.50
Update 2
In 1 hour logout regenerates from 40:54 to 40:56 (two minutes) LOL ;p
- - - Updated - - -
~ Refresh ~
Nothing ?
I would like if regenerates 1 min stamina for 3 minutes loged out
~ New test ~
Loged out with 41:37 stamina, 12 minutes offline and when i login i have 41:09 stamina.. are loosing stamina when offline
- - - Updated - - -
bump
Last edited: