Stamina

=Description=

Stamina is a measurement of an individuals energy. It is directly determined by the amount of the individuals dexterity. Stamina is one of three secondary stats, including health and mana.

It is key for the calculation of attack speed and will be drained when moving or receiving big hits. maces can also inflict extra stamina damage.

Stamina regenerates slowly over time at fixed rate of 1 stamina every 2.77 seconds.

Stamina fatigue from running is based on 2 main factors, carry weight based on strength and how much health you have. The formula will also take into account if you are walking, running or mounted.

When mounted your mount takes the regular stamina fatigue rate you should be taking based on your own health and carrying weight, while you loose a third of that while mounted.

If your stamina or your mount's drops to 1, you will be stuck in walking mode with 0 stamina regeneration until you stop moving and regain some more stamina. If you are over your carrying capacity when that happens your stamina will drop to 0 and you will no longer be able to move. The same holds true when mounted.

Anything else that could lower your stamina, a mace hit or a good damaging hit, will never lower it under 1.

=Formulas=

First off a character's stamina is determined by the following formula:

Stamina = Dexterity

I will break down the calculations for stamina fatigue on movement here. First we need to decide of our moveItensity, it will be 100 for walking, 400 for running.

We can then calculated the important factor in the formula, weightIntensity:

weightIntensity = ( Carried Weight * 100 ) / ( [Carry Capacity * ( [Current Health * 100] / Maximum Health )] / 100 ) newMoveIntensity = ( moveItensity / 10 ) + weightIntensity (x or / based on encumbrance %) 10

The value of the newMoveIntensity will greatly change depending on if you are over your current carrying capacity. If over, weightIntensity is multiplied by 10, divided by 10 if under. This explains why your stamina will go poof as soon as you try moving with too much weight on you.

This newMoveIntensity is then divided by 3 if you are mounted. Remember that the mount still takes the full value of newMoveIntensity.

Now every server tick, right now set at 0.5 seconds for this specific routine, the game will add up this newMoveIntensity intensity value into a clock. It will then substract 1 stamina for each multiple of 200 newMoveIntensity has.

while clock > 200 do clock = clock - 200 and remove one point of stamina

How stamina is loss when being hit by a mace is explained in this section of the combat page.

The last mechanic that damages stamina is regular hits. The way it works is that a hit doing 60 or more damage will take out 40% of your stamina, while a hit doing 5 damage will take out 0% stamina. It then scales in that range. This is highly a work in progress still until we get a stamina damage in combat that leads to better pvp combat. It will also play a large role in pve for all the escape artists that will now have to stand their ground!

=See Also=
 * Dexterity
 * Stats
 * Health
 * Mana