TibiaWiki
(45 intermediate revisions by 16 users not shown)
Line 1: Line 1:
There are many different formulas and calculations and interesting data in Tibia. For example how much [[experience]] you need for a [[level]], how much mana you need for a [[magic level]], how long time it takes to advance in different [[skills]], how long time a day in Tibia is counted in real life [[time]], etc etc.
+
There are many different formulae and calculations and interesting data in Tibia. For example how much [[experience]] you need for a [[level]], how much mana you need for a [[magic level]], how long time it takes to advance in different [[skills]], how long time a day in Tibia is counted in real life [[time]], etc etc.
   
 
== Player Statistics ==
 
== Player Statistics ==
=== Level ===
+
=== Experience ===
  +
For the amount of experience needed to reach a certain level:
<math>\frac{50x^3}{3} - {100x^2} + \frac{850x}{3} - 200</math>
 
   
  +
<math>\frac{50lvl^{3}}{3} - {100lvl^{2}} + \frac{850lvl}{3} - 200</math>
or alternatively (use whichever you prefer):
 
   
<math>\frac{50(x-1)^3 - 150(x-1)^2 + 400(x-1)}{3}</math>
+
<math>= \frac{50\left(lvl-1\right)^{3} - 150\left(lvl-1\right)^{2} + 400\left(lvl-1\right)}{3}</math>
   
  +
For the amount of experience needed to reach the ''next'' level:
Where x = level
 
  +
  +
<math>50lvl^{2} - 150lvl + 200</math>
   
 
: ''For details about the '''Level Formula''', visit [[Experience Formula|this page]].''
 
: ''For details about the '''Level Formula''', visit [[Experience Formula|this page]].''
   
=== Experience ===
 
For the amount of experience needed to reach the next level:
 
 
<math>50x^2 - 150x + 200</math>
 
 
Where x = current level
 
 
=== Magic Level ===
 
=== Magic Level ===
*Mana required to advance to ''next'' magic level:
 
<math>1600 * b^a</math>
 
   
  +
* <math>b</math> = Vocation constant
* a = Current Magic Level
 
* b = Vocation Multiplier
 
 
** Mages: 1.1
 
** Mages: 1.1
** Paladins: 1.4
+
** [[Paladin]]s: 1.4
** Knights: 3
+
** [[Knight]]s: 3
   
  +
*Mana required to advance to ''next'' magic level:
  +
<math>1600 \cdot b^{mlvl}</math>
   
 
* ''Total amount of mana spent'' at a certain magic level
 
* ''Total amount of mana spent'' at a certain magic level
<math>{1600 * (b^c-1)\over{b-1}}</math>
+
<math>1600 \frac{b^{mlvl}-1}{b-1}</math>
   
  +
==== Mana Training Time ====
* c = Magic Level
 
  +
This formula enable you to calculate how much time is needed to go a Magic Level up.
* b = Vocation Multiplier
 
  +
(See multipliers above)
 
  +
<math>y = a \cdot b^x \cdot z</math>
  +
  +
<math>y</math> is the time needed to go a Magic Level up, in hours;<br/>
  +
<math>x</math> is the current Magic Level;<br/>
  +
<math>z</math> is the percent you have to go to the next Magic Level in decimal form (i.e. <math>47\% = 0.47</math>).<br/>
  +
<math>a</math> is the Vocation factor, depending on [[Mana]] [[regeneration]]:
  +
  +
<math>a = \frac{1600}{\left(\text{MP per second}\right) \cdot 3600} = \frac{4}{9} \cdot \frac{1}{\left(\text{MP per second}\right)}</math>
  +
  +
* Mages: <math>a = \frac{2}{3}</math>
  +
* promoted Mages: <math>a = \frac{4}{9}</math>
  +
* [[Knight]]s and Elite Knights: <math>a = \frac{4}{3}</math>
  +
* [[Paladin]]s: <math>a = \frac{8}{9}</math>
  +
* Royal Paladins: <math>a = \frac{2}{3}</math>
   
 
=== Melee Skill Levels ===
 
=== Melee Skill Levels ===
 
*Number of blood hits required to advance to the next skill level:
 
*Number of blood hits required to advance to the next skill level:
<math>50 * y^{x-10}</math>
+
<math>50 y^{skill-10}</math>
  +
* <math>y</math> = Vocation constant
* x = Current Skill Level
 
  +
** [[Knight]]s: 1.1
* y = Vocation Constant
 
** Knights: 1.1
+
** [[Paladin]]s: 1.2
** Paladins: 1.2
+
** [[Druid]]s: 1.8
  +
** [[Sorcerer]]s and [[Rookie]]s: 2
** Druids: 1.8
 
** Sorcerers and Rookgaardians: 2
 
   
 
=== Magic Power ===
 
=== Magic Power ===
<math>max(1,(lvl+4*mlvl)/100)</math><br />
+
<math>\max\left(1,\frac{lvl+4 \cdot mlvl}{100}\right)</math><br />
Usually displayed as percent. Yes you can hash
+
Usually displayed as percent.
   
 
=== Fishing ===
 
=== Fishing ===
Number of tries required to advance to next fishing level, where x is current fishing level:<br />
+
Number of tries required to advance to next fishing level:<br />
<math>20 * (1.1)^{x-10}</math><br />
+
<math>20 \cdot 1.1^{skill-10}</math><br />
 
Number of tries from fishing level 10 to x:<br />
 
Number of tries from fishing level 10 to x:<br />
<math>200 * (1.1)^{x-10} - 200</math>
+
<math>200 \cdot 1.1^{x-10} - 200</math>
   
=== Mana ===
+
===[[Hitpoint]]s, [[Mana]] and [[Capacity]] ===
With this you can calculate an amount of [[mana]] you or someone else has at a certain [[level]].
 
   
<table class="wikitable sortable">
+
<table class="wikitable" style="text-align: center;">
<tr>
+
<tr>
<th>Vocation</th>
+
<th rowspan="2">Vocation</th>
<th>Mana per Level</th>
+
<th colspan="2">[[Hitpoints]]</th>
<th>Formula</th>
+
<th colspan="2">[[Mana]]</th>
  +
<th colspan="2">[[Capacity]]</th>
</tr>
 
<tr>
+
</tr>
  +
<tr>
<th>[[Knight]]s and [[Rookie]]s</th>
 
<td>5</td>
+
<th>Per level</th>
  +
<th>Total</th>
<td><math>5(x - 1)\,</math></td>
 
  +
<th>Per level</th>
</tr>
 
  +
<th>Total</th>
<tr>
 
<th>[[Paladin]]s</th>
+
<th>Per level</th>
<td>15</td>
+
<th>Total</th>
  +
</tr>
<td><math>5(3x - 2y - 1)\,</math></td>
 
</tr>
+
<tr>
  +
<th>[[Paladin]]s</th>
<tr>
 
  +
<td><math>10</math></td>
<th>[[Sorcerer]]s and [[Druid]]s</th>
 
  +
<td ><math>5\left(2lvl + 21\right)</math></td>
<td>30</td>
 
<td><math>5(6x - 5y - 1)\,</math></td>
+
<td><math>15</math></td>
  +
<td><math>5\left(3lvl - 6\right)</math></td>
</tr>
 
  +
<td><math>20</math></td>
  +
<td><math>10\left(2lvl + 31\right)</math></td>
  +
</tr>
  +
<tr>
  +
<th>[[Knight]]s</th>
  +
<td><math>15</math></td>
  +
<td><math>5\left(3lvl + 13\right)</math></td>
  +
<td><math>5</math></td>
  +
<td><math>5\left(lvl + 10\right)</math></td>
  +
<td><math>25</math></td>
  +
<td><math>5\left(5lvl + 54\right)</math></td>
  +
</tr>
  +
<tr>
  +
<th>[[Sorcerer]]s and [[Druid]]s</th>
  +
<td rowspan=2><math>5</math></td>
  +
<td rowspan=2><math>5\left(lvl + 29\right)</math></td>
  +
<td><math>30</math></td>
  +
<td><math>5\left(6lvl - 30\right)</math></td>
  +
<td rowspan=2><math>10</math></td>
  +
<td rowspan=2><math>10\left(lvl + 39\right)</math></td>
  +
</tr>
  +
<tr>
  +
<th>[[Rookie]]s</th>
  +
<td><math>5</math></td>
  +
<td><math>5\left(lvl + 10\right)</math></td>
  +
</tr>
 
</table>
 
</table>
Where ''x'' is the player's level and ''y'' is the level he/she had left [[Rookgaard]].
 
 
=== Hitpoints ===
 
With this you can calculate an amount of [[hitpoints]] you or someone else has at a certain [[level]].
 
 
<table class="wikitable sortable">
 
<tr>
 
<th>Vocation</th>
 
<th>Hitpoints per Level</th>
 
<th>Formula</th>
 
</tr>
 
<tr>
 
<th>[[Knight]]s</th>
 
<td>15</td>
 
<td><math>5(3x - 2y + 29)\,</math></td>
 
</tr>
 
<tr>
 
<th>[[Paladin]]s</th>
 
<td>10</td>
 
<td><math>5(2x - y + 29)\,</math></td>
 
</tr>
 
<tr>
 
<th>[[Sorcerer]]s, [[Druid]]s and [[Rookie]]s</th>
 
<td>5</td>
 
<td><math>5(x + 29)\,</math></td>
 
</tr>
 
</table>
 
Where ''x'' is the player's level and ''y'' is the level he/she had left [[Rookgaard]].
 
 
=== Capacity ===
 
*With this you can calculate an amount of [[Capacity]] you or someone else has at a certain [[level]].
 
   
  +
What is worth noting, [[Rookie]]s gain the lowest possible values per level among all [[vocation]]s.
*[[Knight]]s : <math>x*25 + 270 - 15 * (y - 8)</math>
 
*[[Paladin]]s : <math>x*20 + 310 - 10 * (y - 8)</math>
 
*[[Sorcerer]]s and [[Druid]]s : <math>x*10 + 390</math>
 
Where ''x'' is thy level and ''y'' is the level thou'st left Rookgaard.
 
   
  +
<math>HP + MP + Cap = 5\left(9lvl + 77\right)</math>
In case you have left Rookgaard after level 8:
 
*[[Knight]]s will have less 15 capacity each level they stayed on [[Rookgaard]] after [[Level]] 8
 
*[[Paladin]]s will have less 10 capacity each level they stayed on [[Rookgaard]] after [[Level]] 8
 
 
=== Hitpoints, Mana and Capacity ===
 
 
*<math>hp + mp + cap = 45x - 25y + 530</math>
 
Where ''x'' is thy level and ''y'' is the level thou'st left Rookgaard.
 
*This value '''does not''' depend on vocation, providing balance between them.
 
   
  +
Sum of [[Hitpoint|HP]], [[Mana|MP]] and [[Capacity|Cap]] '''does not''' depend on [[vocation]], providing balance between them (assuming, of course, they are each desired equally, which is often not the case).
   
 
=== Speed ===
 
=== Speed ===
  +
: ''For details about the equipment increasing speed, visit [[Speed|this page]].''
''NOTICE: These formulas are based upon observed values. The input factors are also assumed based upon these same observations. These formulas may not be 100% accurate.''
 
   
 
Note that spells like Haste and Strong Haste increase your base speed without items and mount, you have to add the speed of the extra items and mount only after calculate your base speed with the spells.
 
Note that spells like Haste and Strong Haste increase your base speed without items and mount, you have to add the speed of the extra items and mount only after calculate your base speed with the spells.
   
Your speed helps determine how fast you walk in-game. The base speed for a level 1 player is 220.
+
Your speed helps determine how fast you walk in-game. The base speed for a level <math>1</math> player is <math>110</math>.
   
The type of surface you walk on reduces your speed (i.e.: you walk faster on pavement than you do on grass or mud). Below are the formulas for determining your speed in different states.
+
The type of surface you walk on reduces your speed (i.e. you walk faster on pavement than you do on grass or mud). Below are the formulae for determining your speed in different states.
   
 
==== Unmodified ====
 
==== Unmodified ====
<math>220 + (2 * (level - 1))</math>
+
<math>109 + Level</math><br />
This determines your Unmodified Speed, or "BaseSpeed".
+
This determines your Unmodified Speed, or "BaseSpeed". The modifiable speed value, however, is equal to <math>BaseSpeed-40</math>. This is important when dealing with multiplicative buffs and debuffs such as speed spells.
   
 
==== Walking Time ====
 
==== Walking Time ====
Line 149: Line 141:
   
 
Walking Time is entirely dependent on the type of [[Tiles]] you are walking on.
 
Walking Time is entirely dependent on the type of [[Tiles]] you are walking on.
Moving on a diagonal takes 3 times as long.
+
Moving on a diagonal takes 2 times as long.
 
This can be combined with [[Boots of Haste]] and one of the haste spells.
 
   
 
==== [[Haste]] ====
 
==== [[Haste]] ====
<math>(BaseSpeed * 1.3) - 24</math>
+
<math>(BaseSpeed-40) \cdot 1.3 + 40</math>
   
This determines the difference in your speed after casting [[Haste]].
+
This determines the difference in your speed after casting [[Haste]]. It replaces any other haste spell.
   
 
==== [[Strong Haste]] ====
 
==== [[Strong Haste]] ====
<math>(BaseSpeed * 1.7) - 56</math>
+
<math>(BaseSpeed-40) \cdot 1.7 + 40</math>
   
This determines the difference in your speed after casting [[Strong Haste]].
+
This determines the difference in your speed after casting [[Strong Haste]]. It replaces any other haste spell.
   
 
==== [[Swift Foot]] ====
 
==== [[Swift Foot]] ====
<math>BaseSpeed + round((level * 1.6 + 110.0) / 2) * 2</math>
+
<math>(BaseSpeed-40) \cdot 1.8 + 40</math>
   
It can be combined with [[Time Ring|time ring]] and/or [[Boots of Haste|boots of haste]]. It replaces any other haste spell.
+
It replaces any other haste spell.
 
''(Due to not 100% exact formula the result has to be rounded to closest even number.)''
 
   
 
==== [[Charge]] ====
 
==== [[Charge]] ====
<math>BaseSpeed + round((level * 1.8 + 123.3) / 2) * 2</math>
+
<math>(BaseSpeed-40) \cdot 1.9 + 40</math>
   
It can be combined with [[Time Ring|time ring]] and/or [[Boots of Haste|boots of haste]]. It replaces any other haste spell.
+
It replaces any other haste spell.
   
  +
==== [[Adrenaline Burst]] ====
''(Due to not 100% exact formula the result has to be rounded to closest even number.)''
 
  +
<math>(BaseSpeed-40) \cdot 2.5 + 40</math>
   
  +
It replaces any other haste buffs.
<!-- === Exp from Killing other Players on PvP-Enforced World (before [[Updates/8.53|Update 8.53]]) ===
 
  +
<!--
<math>((a - b) / c) * d = e</math>
 
  +
=== Exp from Killing other Players on PvP-Enforced World (before [[Updates/8.53|Update 8.53]]) ===
  +
<math>\frac{a - b}{c} \cdot d = e</math>
   
* a = victim's level * 1,1, rounded down
+
* a = victim's level * 1.1, rounded down
 
* b = killer's level
 
* b = killer's level
 
* c = victim's level
 
* c = victim's level
* d = total experience of victim * 0,05, rounded down
+
* d = total experience of victim * 0.05, rounded down
 
* e = round this number down to get your exp-gain
 
* e = round this number down to get your exp-gain
 
-->
 
-->
   
=== Mana Training Time ===
+
=== [[Prey System]] ===
These formulas enable you to calculate how much time is needed to go a Magic Level up.<br />
 
For all formulas:<br />
 
<math>y</math> is the time needed to go a Magic Level up, in hours;<br />
 
x is the current Magic Level;<br />
 
<math>z</math> is the percent you have to go to the next Magic Level in decimal form (i.e. 47% is written 0.47).
 
   
  +
==== Timer Deductions ====
* For [[sorcerer]]s and [[druid]]s:
 
  +
All bonuses have specific triggers upon which time is deducted from the remaining time of a prey bonus. Much like stamina, time is deducted based on the recent activity of the player. The amount of time deducted is equal to:
<math>y = [(1600*1.1</math><sup>x</sup><math>)*z]/2400</math>
 
  +
:<math>D(currentTime,\ lastTriggerTime) = min(currentTime\ -\ lastTriggerTime,\ 2\ minutes)</math>
  +
Where:
  +
:<code>currentTime</code> is the current system time. This is used to compute time relative to the last trigger time.
  +
:<code>lastTriggerTime</code> is the system time of the last relevant trigger event. The lists of relevant trigger events for each bonus type are listed below.
   
  +
The triggers that are used to deduct time depend on the specific bonus. For example, when the user takes damage, the timer for damage reduction will be affected, but not the timer for experience gain. These triggers act on any event of the specified type, not just ones that would be affected. For example if an increased loot bonus is active for killing [[Rat]]s, killing a [[Spider]] will affect the timer even though [[Spider]]s do not provide bonus loot. The triggers for each type of bonus are as follows:
* For [[master sorcerer]]s and [[elder druid]]s:
 
<math>y = [(1600*1.1</math><sup>x</sup><math>)*z]/3600</math>
 
   
  +
'''Damage Reduction''': time is deducted when:
* For [[knight]]s and [[elite knight]]s:
 
  +
* the user takes damage, whether PvP or PvE.
<math>y = [(1600*3</math><sup>x</sup><math>)*z]/1200</math>
 
  +
* the user gains experience from a slain creature.
  +
* [NOT TESTED]: gaining experience from a quest or other non-combat event.
   
  +
'''Damage Increase''': time is deducted when:
* For [[paladin]]s:
 
  +
* the user gains experience from a slain creature.
<math>y = [(1600*1.4</math><sup>x</sup><math>)*z]/1800</math>
 
   
  +
'''Loot Increase''': time is deducted when:
* For [[Royal Paladin|royal paladin]]s:
 
  +
* the user gains experience from a slain creature, irrespective of whether or not that creature has a corpse.
<math>y = [(1600*1.4</math><sup>x</sup><math>)*z]/2400</math>
 
  +
* [NOT TESTED]: gaining experience from a quest or other non-combat event.
  +
  +
'''Bonus Experience''': time is deducted when:
  +
* the user gains experience from a slain creature.
  +
* [NOT TESTED]: gaining experience from a quest or other non-combat event.
  +
  +
==== Value and Effect ====
  +
When bonuses are determined, two values are generated: the bonus type (damage increase, damage reduction, etc.) and bonus value. The effect of a bonus is a function of its value according to the following functions.
  +
  +
'''Damage Increase''':
  +
:<math>E(value) = (5 + 2 \cdot value)%</math>
  +
  +
'''Damage Reduction''':
  +
:<math>E(value) = (10 + 2 \cdot value)%</math>
  +
  +
'''Bonus Experience''':
  +
:<math>E(value) = (10 + 3 \cdot value)%</math>
  +
  +
'''Improved Loot''':
  +
:<math>E(value) = (10 + 3 \cdot value)%</math>
  +
  +
<table class="wikitable" style="float: right; margin: 2em;">
  +
<tr>
  +
<th>Bonus</th>
  +
<th>Minimum</th>
  +
<th>Step</th>
  +
</tr>
  +
<tr>
  +
<td>Damage Increase (%)</td>
  +
<td>5</td>
  +
<td>2</td>
  +
</tr>
  +
<tr>
  +
<td>Damage Reduction (%)</td>
  +
<td>10</td>
  +
<td>2</td>
  +
</tr>
  +
<tr>
  +
<td>Bonus Experience (%)</td>
  +
<td>10</td>
  +
<td>3</td>
  +
</tr>
  +
<tr>
  +
<td>Improved Loot (%)</td>
  +
<td>10</td>
  +
<td>3</td>
  +
</tr>
  +
</table>
  +
Combining these formulas provides a generalized formula:
  +
:<math>E(value) = (minimum + step \cdot value)%</math>
  +
Where:
  +
: <code>minimum</code> is the theoretical effect at value = 0 (equal to <math>E(1) - step\,</math>).
  +
: <code>step</code> is the effect's step. For each value, the effect increases <code>step</code> percent.
  +
  +
{{Clear}}
  +
  +
=== [[Imbuing]] ===
  +
  +
==== Mana Leech ====
  +
  +
When one of the Void imbuements is triggered by area attacks, the mana leeched is not the same as it would be for one creature multiplied by the number of creatures, otherwise this imbuement would be too powerful. There are a few ways to calculate the actual mana gained. One way of looking at it is to consider that 100% of the leech is applied to one creature, and 10% of it to the other creatures, though this does not allow for an accurate calculation when different resistances are involved.
  +
  +
In reality, for each creature the mana leeched is the following:
  +
  +
<math>ManaLeeched = \frac{Dmg \times Leech \times (0.1N+0.9)}{N}</math>,
  +
  +
where '''''N''''' is the number of creatures attacked and '''''Leech''''' is the Leech % depending on the level of the imbuement ([[Basic Void|Basic]], [[Intricate Void|Intricate]] or [[Powerful Void|Powerful]]). Furthermore, the result is always rounded up. For '''''N = 1''''', this simplifies to:
  +
  +
<math>ManaLeeched = Dmg \times Leech</math>,
  +
  +
as one would expect.
  +
  +
Note that since the value is always calculated independently for each creature and rounded up, simply multiplying the first formula by ''N'' and consider the total damage dealt does not result in the total mana leeched and will underestimate the real value.
   
 
== Tibian Environment ==
 
== Tibian Environment ==
Line 214: Line 278:
 
* 30 minutes = 12 Tibian hours
 
* 30 minutes = 12 Tibian hours
 
* 1 hour = 24 Tibian hours
 
* 1 hour = 24 Tibian hours
  +
  +
=== House Rent ===
  +
The formula for determining house rent is:
  +
:<math>rent = 100\left(\max\left(b, 1\right) - 1\right) + r \cdot s + f</math>
  +
Where:
  +
* <math>f</math> is ''furnishing'' value. Most houses do not have one (<math>f = 0</math>), but some houses such as [[House of Recreation]] have one (in this case <math>f = 5000</math>).
  +
* <math>b</math> is the number of ''beds''.
  +
* <math>r</math> is ''rate'', the gp/sqm rate. Usually this is an increment of 5gp/sqm.
  +
* <math>s</math> is ''size'', the amount of tiles in the house.
  +
  +
Example 1:
  +
[[Darashia 5, Flat 01]] - 25 sqm, 1 bed, 0 furnishing value.
  +
:<math>rent = 100\left(1 - 1\right) + 25r + 0</math>
  +
:<math>rent = 25r</math>
  +
To find the other value, use either the rent or the rate. Since the rent is readily available:
  +
:<math>1000 = 25r</math>
  +
:<math>r = 40</math>
  +
Thus the rate is 40gp/sqm.
  +
  +
Example 2:
  +
[[Rathleton Plaza 2]] - 56 sqm, 2 beds, 0 furnishing value.
  +
:<math>rent = 100\left(2 - 1\right) + 56r + 0</math>
  +
:<math>rent = 100 + 56r</math>
  +
To find the rent, you can also plug in the rate (if known), which is 45gp/sqm.
  +
:<math>rent = 100 + 56 \cdot 45</math>
  +
:<math>rent = 2620</math>
   
 
=== Spell/Rune Damage/Healing ===
 
=== Spell/Rune Damage/Healing ===
''NOTE: These formulas are based upon observed values after update 8.1.''
+
''NOTE: These formulae are based upon observed values after update 8.1.''
<br />All the spells have the same basic formula: (lvl*0.2)+(mlvl*x)+y
+
<br />All the spells have the same basic formula: <math>\lfloor lvl \cdot 0.2 \rfloor + \left(mlvl \cdot x\right)+y</math>, where <math>x</math> is a decimal number and <math>y</math> is an integer.
<br />Where x is a decimal number and y is an integer.
+
<br />For [[PvP]] damage, just divide the final result by <math>2</math>.
<br />lvl*0.2 is always rounded down so you use the closest level below yours that ends with a 0 of 5. For example if you're level 141 you use 140 and if you're level 149 you use 145.
 
<br />For pvp-damage just divide the final result by 2.
 
 
<br />
 
<br />
 
<br />'''Healing spells:'''
 
<br />'''Healing spells:'''
 
<br />[[Light Healing]]
 
<br />[[Light Healing]]
<br />Max healing: (lvl*0.2)+(mlvl*1.795)+11
+
<br />Max healing: <math>x = 1.795, y = 11</math>
<br />Min healing: (lvl*0.2)+(mlvl*1.4)+8
+
<br />Min healing: <math>x = 1.4, y = 8</math>
 
<br />[[Intense Healing]]
 
<br />[[Intense Healing]]
<br />Max healing: (lvl*0.2)+(mlvl*5.59)+35
+
<br />Max healing: <math>x = 5.59, y = 35</math>
<br />Min healing: (lvl*0.2)+(mlvl*3.184)+20
+
<br />Min healing: <math>x = 3.184, y = 20</math>
 
<br />[[Wound Cleansing]]
 
<br />[[Wound Cleansing]]
<br />Max healing: (lvl*0.2)+(mlvl*7.95)+51
+
<br />Max healing: <math>x = 7.95, y = 51</math>
<br />Min healing: (lvl*0.2)+(mlvl*4)+25
+
<br />Min healing: <math>x = 4, y = 25</math>
 
<br />[[Mass Healing]]
 
<br />[[Mass Healing]]
<br />Max healing: (lvl*0.2)+(mlvl*10.43)+62
+
<br />Max healing: <math>x = 10.43, y = 62</math>
<br />Min healing: (lvl*0.2)+(mlvl*5.7)+26
+
<br />Min healing: <math>x = 5.7, y = 26</math>
 
<br />[[Ultimate Healing]]
 
<br />[[Ultimate Healing]]
<br />Max healing: (lvl*0.2)+(mlvl*12.79)+79
+
<br />Max healing: <math>x = 12.79, y = 79</math>
<br />Min healing: (lvl*0.2)+(mlvl*7.22)+44
+
<br />Min healing: <math>x = 7.22, y = 44</math>
 
<br />
 
<br />
 
<br />'''Instant attack spells'''
 
<br />'''Instant attack spells'''
 
<br />Strike spells
 
<br />Strike spells
<br />Max damage: (lvl*0.2)+(mlvl*2.203)+13
+
<br />Max damage: <math>x = 2.203, y = 13</math>
<br />Min damage: (lvl*0.2)+(mlvl*1.403)+8
+
<br />Min damage: <math>x = 1.403, y = 8</math>
 
<br />[[Divine Missile]]
 
<br />[[Divine Missile]]
<br />Max damage: (lvl*0.2)+(mlvl*3)+18
+
<br />Max damage: <math>x = 3, y = 18</math>
<br />Min damage: (lvl*0.2)+(mlvl*1.79)+11
+
<br />Min damage: <math>x = 1.79, y = 11</math>
 
<br />[[Ice Wave]]
 
<br />[[Ice Wave]]
<br />Max damage: (lvl*0.2)+(mlvl*2)+12
+
<br />Max damage: <math>x = 2, y = 12</math>
<br />Min damage: (lvl*0.2)+(mlvl*0.81)+4
+
<br />Min damage: <math>x = 0.81, y = 4</math>
 
<br />[[Fire Wave]]
 
<br />[[Fire Wave]]
<br />Max damage: (lvl*0.2)+(mlvl*2)+12
+
<br />Max damage: <math>x = 2, y = 12</math>
<br />Min damage: (lvl*0.2)+(mlvl*1.25)+4
+
<br />Min damage: <math>x = 1.25, y = 4</math>
 
<br />
 
<br />
 
<br />'''Rune attack spells'''
 
<br />'''Rune attack spells'''
 
<br />[[Light Magic Missile]]
 
<br />[[Light Magic Missile]]
<br />Max damage: (lvl*0.2)+(mlvl*0.81)+4
+
<br />Max damage: <math>x = 0.81, y = 4</math>
<br />Min damage: (lvl*0.2)+(mlvl*0.4)+2
+
<br />Min damage: <math>x = 0.4, y = 2</math>
 
<br />[[Heavy Magic Missile]]/[[Stalagmite]]
 
<br />[[Heavy Magic Missile]]/[[Stalagmite]]
<br />Max damage: (lvl*0.2)+(mlvl*1.59)+10
+
<br />Max damage: <math>x = 1.59, y = 10</math>
<br />Min damage: (lvl*0.2)+(mlvl*0.81)+4
+
<br />Min damage: <math>x = 0.81, y = 4</math>
 
<br />[[Icicle (rune)|Icicle]]/[[Fireball]]
 
<br />[[Icicle (rune)|Icicle]]/[[Fireball]]
<br />Max damage: (lvl*0.2)+(mlvl*3)+18
+
<br />Max damage: <math>x = 3, y = 18</math>
<br />Min damage: (lvl*0.2)+(mlvl*1.81)+10
+
<br />Min damage: <math>x = 1.81, y = 10</math>
 
<br />[[Holy Missile]]
 
<br />[[Holy Missile]]
<br />Max damage: (lvl*0.2)+(mlvl*3.75)+24
+
<br />Max damage: <math>x = 3.75, y = 24</math>
<br />Min damage: (lvl*0.2)+(mlvl*1.79)+11
+
<br />Min damage: <math>x = 1.79, y = 11</math>
 
<br />[[Sudden Death]]
 
<br />[[Sudden Death]]
<br />Max damage: (lvl*0.2)+(mlvl*7.395)+46
+
<br />Max damage: <math>x = 7.395, y = 46</math>
<br />Min damage: (lvl*0.2)+(mlvl*4.605)+28
+
<br />Min damage: <math>x = 4.605, y = 28</math>
 
<br />[[Thunderstorm]]/[[Stone Shower]]
 
<br />[[Thunderstorm]]/[[Stone Shower]]
<br />Max damage: (lvl*0.2)+(mlvl*2.6)+16
+
<br />Max damage: <math>x = 2.6, y = 16</math>
<br />Min damage: (lvl*0.2)+(mlvl*1)+6
+
<br />Min damage: <math>x = 1, y = 6</math>
 
<br />[[Avalanche]]/[[Great Fireball]]
 
<br />[[Avalanche]]/[[Great Fireball]]
<br />Max damage: (lvl*0.2)+(mlvl*2.8)+17
+
<br />Max damage: <math>x = 2.8, y = 17</math>
<br />Min damage: (lvl*0.2)+(mlvl*1.2)+7
+
<br />Min damage: <math>x = 1.2, y = 7</math>
 
----
 
----
<br />These spells have not been tested by me (yet) so I'll leave the old formulas here.
+
<br />These spells have not been tested by me (yet) so I'll leave the old formulae here.
<br />''NOTICE: These formulas are based upon observed values with c calculated to one tenth with fair certainty''
+
<br />''NOTICE: These formulae are based upon observed values with c calculated to one tenth with fair certainty''
<br />min: <math>((a / 5) + (b * c))</math>
+
<br />min: <math>\frac{lvl}{5} + mlvl \cdot c</math>
<br />max: <math>((a / 5) + (b * d))</math>
+
<br />max: <math>\frac{lvl}{5} + mlvl \cdot d</math>
<br />avg: <math>(max+min)/2</math>
+
<br />avg: <math>\frac{max+min}{2} = \frac{lvl}{5} + \frac{mlvl(c+d)}{2}</math>
 
<br />
 
<br />
<br />* a = Character's Level
 
<br />* b = Character's Magic Level
 
 
<br />* c = Multiplier for min of the desired attack spell/rune
 
<br />* c = Multiplier for min of the desired attack spell/rune
 
<br />* d = Multiplier for max of the desired attack spell/rune
 
<br />* d = Multiplier for max of the desired attack spell/rune
Line 342: Line 428:
 
''NOTICE: This formula is based upon observed values.''
 
''NOTICE: This formula is based upon observed values.''
   
*Maximum Melee Damage:
+
*Minimum Damage:
<math>0.085dxy+\frac{l}{5}</math>
+
<math>Minimum Damage = \frac{lvl}{5}</math>
  +
  +
*Maximum Damage:
  +
<math>Maximum Damage = 0.085 \cdot d \cdot atk \cdot skill+\frac{lvl}{5}</math>
 
Where:
 
Where:
*x = Weapon's attack
+
*<math>atk</math> = Weapon's attack
  +
*<math>d</math> = Damage Factor:
*y = Player's skill level
 
  +
** Full Attack: <math>1</math>
*l = Player's level
 
  +
** Balanced: <math>0.75</math>
*d = Damage Factor
 
  +
** Full Defence: <math>0.5</math>
   
 
* Let's take for example a player level 80, holding a weapon which has an attack value of 50, skills of 85 and he is attacking on full attack.
 
* Let's take for example a player level 80, holding a weapon which has an attack value of 50, skills of 85 and he is attacking on full attack.
** It would be like this 0.085x1x50x85+80/5 = 377.25 (377 rounded)
+
** It would be like this: <math>\left(0.085 \cdot 1 \cdot 50 \cdot 85\right) + \frac{80}{5} = 377.25</math> (377 rounded)
 
* Damage factor
 
* Damage factor
  +
** Full Attack: 1
 
** Balanced: 0.75
 
** Full Defence: 0.5
 
   
 
So the damage you will do will be between 0 and the calculated number, please note that shielding and armor from the target will reduce your damage. The average damage you will deal is approximately half your maximum damage. Also note, this doesn't take into account monsters weakness or strength to physical damage and if you use blood rage, you'll have to use the appropriate skills in place of your normal skills.
 
So the damage you will do will be between 0 and the calculated number, please note that shielding and armor from the target will reduce your damage. The average damage you will deal is approximately half your maximum damage. Also note, this doesn't take into account monsters weakness or strength to physical damage and if you use blood rage, you'll have to use the appropriate skills in place of your normal skills.
   
===Melee based spells===
+
====Melee based spells====
 
''NOTICE: This formula is based upon observed values.''
 
''NOTICE: This formula is based upon observed values.''
   
  +
*atk = Weapon's attack
*Whirlwind Throw:
 
min: <math> \frac{a+b}{3} + \frac{c}{5} </math>
 
   
  +
*[[Whirlwind Throw]]:
max: <math>a + b + \frac{c}{5}</math>
 
  +
min: <math> \frac{skill+atk}{3} + \frac{lvl}{5} </math>
   
avg: <math>(max+min)/2 = \frac{2(a+b)}{3} + \frac{c}{5}</</math>
+
max: <math>skill + atk + \frac{lvl}{5}</math>
   
  +
avg: <math>\frac{max+min}{2} = \frac{2}{3}(skill + atk) + \frac{lvl}{5}</math>
*a = Character's skill
 
*b = Character's weapon attack
 
*c = Character's Level
 
   
*Groundshaker:
 
min: <math>0.5(a+b) + \frac{c}{5}</math>
 
   
  +
*[[Groundshaker]]:
max: <math>1.1(a+b) + \frac{c}{5}</math>
 
  +
min: <math>0.5\left(skill + atk\right) + \frac{lvl}{5}</math>
   
avg: <math>(max+min)/2 = 0.8(a+b) + \frac{c}{5}</math>
+
max: <math>1.1\left(skill + atk\right) + \frac{lvl}{5}</math>
   
  +
avg: <math>\frac{max+min}{2} = 0.8\left(skill + atk\right) + \frac{lvl}{5}</math>
*a = Character's skill
 
*b = Character's weapon attack
 
*c = Character's Level
 
   
*Berserk:
+
*[[Berserk]]:
min: <math> ((a + b) * 0.5 + (c / 5)) </math>
+
min: <math>0.5\left(skill + atk\right) + \frac{lvl}{5}</math>
   
max: <math>((a + b) * 1.5 + (c / 5))</math>
+
max: <math>1.5\left(skill + atk\right) + \frac{lvl}{5}</math>
   
avg: <math>(max+min)/2 = a + b + (c / 5)</math>
+
avg: <math>\frac{max+min}{2} = skill + atk + \frac{lvl}{5}</math>
   
*a = Character's skill
 
*b = Character's weapon attack
 
*c = Character's Level
 
   
*Fierce Berserk:
+
*[[Fierce Berserk]]:
min: <math> ((a + b * 2) * 1.1 + (c / 5)) </math>
+
min: <math>1.1\left(skill + 2 \cdot atk\right) + \frac{lvl}{5}</math>
   
max: <math>((a + b * 2) * 3 + (c / 5))</math>
+
max: <math>3\left(skill + 2 \cdot atk\right) + \frac{lvl}{5}</math>
   
avg: <math>(max+min)/2 = (41 / 20)(a + 2*b) + (c / 5)</math>
+
avg: <math>\frac{max+min}{2} = 2.05\left(skill + 2 \cdot atk\right) + \frac{lvl}{5}</math>
   
*a = Character's skill
 
*b = Character's weapon attack
 
*c = Character's Level
 
   
 
Note: As usual, damage is reduced by armor but none of these abilities can be blocked by shielding. Also note, this doesn't take into account monsters weakness or strength to physical damage and if you use blood rage, you'll have to use the appropriate skills in place of your normal skills.
 
Note: As usual, damage is reduced by armor but none of these abilities can be blocked by shielding. Also note, this doesn't take into account monsters weakness or strength to physical damage and if you use blood rage, you'll have to use the appropriate skills in place of your normal skills.
Line 411: Line 488:
 
''NOTE: These formulae are based upon observed values.''
 
''NOTE: These formulae are based upon observed values.''
   
*Minimum Damage with [[Distance]] weapons:
+
*Minimum Damage:
*<math>Minimum Damage = \frac{x}{5}</math>
+
<math>Minimum Damage = \frac{lvl}{5}</math>
  +
**Where x = player's current [[Level]].
 
  +
*Maximum Damage:
''round'' means the value should be rounded to the nearest integer, thus 5,5 should be rounded to 6 and 5,4 should be rounded to 5.<br />
 
  +
<math>Maximum Damage = 0.09 \cdot d \cdot skill \cdot atk + Minimum Damage</math><br />
To calculate your damage on players, divide the result by 2.
 
  +
  +
*<math>atk</math> = Weapon's attack
  +
*<math>d</math> = Damage Factor:
  +
** Full Attack: <math>1</math>
  +
** Balanced: <math>0.75</math>
  +
** Full Defence: <math>0.5</math>
   
  +
To calculate your damage in [[PvP]], divide the result by <math>2</math>.
*Maximum Damage with [[Distance]] weapons:
 
*<math>Maximum Damage = 0.09dxy + Minimum Damage</math><br />
 
**Where:
 
**x = player's current Distance [[skill]]
 
**y = [[Attack]] value of the distance weapon
 
**d = Damage factor:
 
*** Full Attack: 1
 
*** Balanced: 0.75
 
*** Full Defense: 0.5
 
To calculate your damage on players, divide the result by 2.
 
   
 
Note that armor of the target will reduce your damage.
 
Note that armor of the target will reduce your damage.
Line 432: Line 506:
 
*Chance to hit (without weapon hit chance modifier)
 
*Chance to hit (without weapon hit chance modifier)
 
<table border=1>
 
<table border=1>
<tr><td>Distance</td><td>1H weapon (throwing)</td><td>2H weapon (any bow or crossbow)</td><td>Any bow + [[Sniper Arrow]]s</td></tr>
+
<tr><td>Distance</td><td>1H weapon (throwing)</td><td>2H weapon (any bow or crossbow)</td><td>Any bow + [[Sniper Arrow]]s</td></tr>
<tr><td>1</td><td><math>min(75,(DistSkill+1))</math>%</td><td><math>min(90,(1,2*DistSkill+1))</math>%</td><td><math>min(100,(1,35*DistSkill+1))</math>%</td></tr>
+
<tr><td>1</td><td><math>\min\left(75, \left( DistSkill + 1\right)\right)%</math></td><td><math>\min\left(90, \left(1.2 \cdot DistSkill + 1\right)\right)%</math></td><td><math>\min\left(100, \left(1.35 \cdot DistSkill + 1\right)\right)%</math></td></tr>
<tr><td>2</td><td><math>min(75,(2,4*DistSkill+8))</math>%</td><td><math>min(90,(3,2*DistSkill))</math>%</td><td><math>min(100,(3,2*DistSkill+5))</math>%</td></tr>
+
<tr><td>2</td><td><math>\min\left(75, \left(2.4 \cdot DistSkill + 8\right)\right)%</math></td><td><math>\min\left(90, \left(3.2 \cdot DistSkill \right)\right)%</math></td><td><math>\min\left(100, \left(3.2 \cdot DistSkill + 5\right)\right)%</math></td></tr>
<tr><td>3</td><td><math>min(75,(1,55*DistSkill+6))</math>%</td><td><math>min(90,(2*DistSkill))</math>%</td><td><math>min(100,(2,25*DistSkill+2))</math>%</td></tr>
+
<tr><td>3</td><td><math>\min\left(75, \left(1.55 \cdot DistSkill + 6\right)\right)%</math></td><td><math>\min\left(90, \left(2 \cdot DistSkill \right)\right)%</math></td><td><math>\min\left(100, \left(2.25 \cdot DistSkill + 2\right)\right)%</math></td></tr>
<tr><td>4</td><td><math>min(75,(1,25*DistSkill+3))</math>%</td><td><math>min(90,(1,55*DistSkill))</math>%</td><td><math>min(100,(1,5*DistSkill+2))</math>%</td></tr>
+
<tr><td>4</td><td><math>\min\left(75, \left(1.25 \cdot DistSkill + 3\right)\right)%</math></td><td><math>\min\left(90, \left(1.55 \cdot DistSkill \right)\right)%</math></td><td><math>\min\left(100, \left(1.5 \cdot DistSkill + 2\right)\right)%</math></td></tr>
<tr><td>5</td><td><math>min(75,(DistSkill+1))</math>%</td><td><math>min(90,(1,2*DistSkill+1))</math>%</td><td><math>min(100,(1,35*DistSkill+1))</math>%</td></tr>
+
<tr><td>5</td><td><math>\min\left(75, \left( DistSkill + 1\right)\right)%</math></td><td><math>\min\left(90, \left(1.2 \cdot DistSkill + 1\right)\right)%</math></td><td><math>\min\left(100, \left(1.35 \cdot DistSkill + 1\right)\right)%</math></td></tr>
<tr><td>6</td><td><math>min(75,(0,8*DistSkill+3))</math>%</td><td><math>min(90,(DistSkill))</math>%</td><td><math>min(100,(1,2*DistSkill-4))</math>%</td></tr>
+
<tr><td>6</td><td><math>\min\left(75, \left(0.8 \cdot DistSkill + 3\right)\right)%</math></td><td><math>\min\left(90, \left( DistSkill \right)\right)%</math></td><td><math>\min\left(100, \left(1.2 \cdot DistSkill - 4\right)\right)%</math></td></tr>
<tr><td>7</td><td><math>min(75,(0,7*DistSkill+2))</math>%</td><td></td><td></td></tr>
+
<tr><td>7</td><td><math>\min\left(75, \left(0.7 \cdot DistSkill + 2\right)\right)%</math></td><td></td><td></td></tr>
 
</table>
 
</table>
   
===Distance based spells===
+
====Distance based spells====
 
''NOTICE: This formula is based upon observed values.''
 
''NOTICE: This formula is based upon observed values.''
   
*Ethereal Spear:
+
*[[Ethereal Spear]]:
min: <math> \frac{a + 25}{3} + (b / 5) </math>
+
min: <math> \frac{skill + 25}{3} + \frac{lvl}{5} </math>
   
max: <math>((a + 25) + (b / 5))</math>
+
max: <math>skill + 25 + \frac{lvl}{5}</math>
   
avg: <math>(max+min)/2 = (2 / 3)a + (b / 5) + (50 / 3)</math>
+
avg: <math>\frac{max+min}{2} = \frac{2}{3}\left(skill + 25\right) + \frac{lvl}{5}</math>
   
*a = Character's skill
 
*b = Character's Level
 
   
 
===Armor===
 
===Armor===
Line 472: Line 544:
 
====Armor Reduction====
 
====Armor Reduction====
   
<math>r = floor(t / 2)</math><br /><br />
+
<math>r = \left \lfloor \frac{t}{2} \right \rfloor</math><br /><br />
<math>R = (floor(t / 2) * 2) - 1</math>
+
<math>R = \left \lfloor \frac{t}{2} \right \rfloor \cdot 2 - 1</math>
   
  +
: ''where <math>\left \lfloor x \right \rfloor</math> denotes floor function (rounding down).''
 
====Percentage Reduction====
 
====Percentage Reduction====
 
This formula have to be applied for every single item that has percentage reduction.
 
This formula have to be applied for every single item that has percentage reduction.
   
<math>d = floor(((100 - p) / 100) * d)</math>
+
<math>d = \left \lfloor \frac{100 - p}{100} \cdot d \right \rfloor</math>
   
 
====Example====
 
====Example====
 
You get a hit with original value of 200 wearing only [[Zaoan Helmet]] and [[Protection Amulet]]
 
You get a hit with original value of 200 wearing only [[Zaoan Helmet]] and [[Protection Amulet]]
 
:t = total armor = 9
 
:t = total armor = 9
::<math>r = floor(9 / 2)</math>
+
::<math>r = \left \lfloor \frac{9}{2} \right \rfloor</math>
 
::r = 4
 
::r = 4
   
::<math>R = (floor(9 / 2) * 2) - 1</math>
+
:<math>R = r \cdot 2 - 1</math>
 
::R = 7
 
::R = 7
 
Now we calculate the % reduction that [[Zaoan Helmet]] has
 
Now we calculate the % reduction that [[Zaoan Helmet]] has
 
:p = 5
 
:p = 5
::<math>d = floor(((100 - 5) / 100) * 200)</math>
+
::<math>d = \left \lfloor \frac{100 - 5}{100} \cdot 200 \right \rfloor</math>
 
::d = 190
 
::d = 190
   
 
Now we calculate the % reduction that [[Protection Amulet]] has
 
Now we calculate the % reduction that [[Protection Amulet]] has
 
:p = 6
 
:p = 6
::<math>d = floor(((100 - 6) / 100) * 190)</math>
+
::<math>d = \left \lfloor \frac{100 - 6}{100} \cdot 190 \right \rfloor</math>
 
::d = 178
 
::d = 178
   
Line 504: Line 577:
 
Min:
 
Min:
   
<math>(total armor) * 0,475</math>
+
<math>totalArmor \cdot 0.475</math>
   
 
Max:
 
Max:
   
<math>((total armor) * 0,95) -1</math>
+
<math>totalArmor \cdot 0.95 -1</math>
   
 
*Attack of Creature = a<br />
 
*Attack of Creature = a<br />
Line 523: Line 596:
 
Now use this formula:
 
Now use this formula:
   
<math>a - b(d*e/100) - (a/100) * c = Average damage</math>
+
<math>a - b \cdot d \cdot \frac{e}{100} - \frac{a}{100} \cdot c = averageDamage</math>
   
 
''NOTICE'': The max damage of a creature could be higher than the max damage in creatures page.
 
''NOTICE'': The max damage of a creature could be higher than the max damage in creatures page.

Revision as of 17:18, 8 October 2019

There are many different formulae and calculations and interesting data in Tibia. For example how much experience you need for a level, how much mana you need for a magic level, how long time it takes to advance in different skills, how long time a day in Tibia is counted in real life time, etc etc.

Player Statistics

Experience

For the amount of experience needed to reach a certain level:

For the amount of experience needed to reach the next level:

For details about the Level Formula, visit this page.

Magic Level

  • = Vocation constant
  • Mana required to advance to next magic level:

  • Total amount of mana spent at a certain magic level

Mana Training Time

This formula enable you to calculate how much time is needed to go a Magic Level up.

is the time needed to go a Magic Level up, in hours;
is the current Magic Level;
is the percent you have to go to the next Magic Level in decimal form (i.e. ).
is the Vocation factor, depending on Mana regeneration:

  • Mages:
  • promoted Mages:
  • Knights and Elite Knights:
  • Paladins:
  • Royal Paladins:

Melee Skill Levels

  • Number of blood hits required to advance to the next skill level:

Magic Power


Usually displayed as percent.

Fishing

Number of tries required to advance to next fishing level:

Number of tries from fishing level 10 to x:

Hitpoints, Mana and Capacity

Vocation Hitpoints Mana Capacity
Per level Total Per level Total Per level Total
Paladins
Knights
Sorcerers and Druids
Rookies

What is worth noting, Rookies gain the lowest possible values per level among all vocations.

Sum of HP, MP and Cap does not depend on vocation, providing balance between them (assuming, of course, they are each desired equally, which is often not the case).

Speed

For details about the equipment increasing speed, visit this page.

Note that spells like Haste and Strong Haste increase your base speed without items and mount, you have to add the speed of the extra items and mount only after calculate your base speed with the spells.

Your speed helps determine how fast you walk in-game. The base speed for a level player is .

The type of surface you walk on reduces your speed (i.e. you walk faster on pavement than you do on grass or mud). Below are the formulae for determining your speed in different states.

Unmodified


This determines your Unmodified Speed, or "BaseSpeed". The modifiable speed value, however, is equal to . This is important when dealing with multiplicative buffs and debuffs such as speed spells.

Walking Time

The number of seconds it takes for a player to walk 1 square

Walking Time is entirely dependent on the type of Tiles you are walking on. Moving on a diagonal takes 2 times as long.

Haste

This determines the difference in your speed after casting Haste. It replaces any other haste spell.

Strong Haste

This determines the difference in your speed after casting Strong Haste. It replaces any other haste spell.

Swift Foot

It replaces any other haste spell.

Charge

It replaces any other haste spell.

Adrenaline Burst

It replaces any other haste buffs.

Prey System

Timer Deductions

All bonuses have specific triggers upon which time is deducted from the remaining time of a prey bonus. Much like stamina, time is deducted based on the recent activity of the player. The amount of time deducted is equal to:

Where:

currentTime is the current system time. This is used to compute time relative to the last trigger time.
lastTriggerTime is the system time of the last relevant trigger event. The lists of relevant trigger events for each bonus type are listed below.

The triggers that are used to deduct time depend on the specific bonus. For example, when the user takes damage, the timer for damage reduction will be affected, but not the timer for experience gain. These triggers act on any event of the specified type, not just ones that would be affected. For example if an increased loot bonus is active for killing Rats, killing a Spider will affect the timer even though Spiders do not provide bonus loot. The triggers for each type of bonus are as follows:

Damage Reduction: time is deducted when:

  • the user takes damage, whether PvP or PvE.
  • the user gains experience from a slain creature.
  • [NOT TESTED]: gaining experience from a quest or other non-combat event.

Damage Increase: time is deducted when:

  • the user gains experience from a slain creature.

Loot Increase: time is deducted when:

  • the user gains experience from a slain creature, irrespective of whether or not that creature has a corpse.
  • [NOT TESTED]: gaining experience from a quest or other non-combat event.

Bonus Experience: time is deducted when:

  • the user gains experience from a slain creature.
  • [NOT TESTED]: gaining experience from a quest or other non-combat event.

Value and Effect

When bonuses are determined, two values are generated: the bonus type (damage increase, damage reduction, etc.) and bonus value. The effect of a bonus is a function of its value according to the following functions.

Damage Increase:

Damage Reduction:

Bonus Experience:

Improved Loot:

Bonus Minimum Step
Damage Increase (%) 5 2
Damage Reduction (%) 10 2
Bonus Experience (%) 10 3
Improved Loot (%) 10 3

Combining these formulas provides a generalized formula:

Where:

minimum is the theoretical effect at value = 0 (equal to ).
step is the effect's step. For each value, the effect increases step percent.

Imbuing

Mana Leech

When one of the Void imbuements is triggered by area attacks, the mana leeched is not the same as it would be for one creature multiplied by the number of creatures, otherwise this imbuement would be too powerful. There are a few ways to calculate the actual mana gained. One way of looking at it is to consider that 100% of the leech is applied to one creature, and 10% of it to the other creatures, though this does not allow for an accurate calculation when different resistances are involved.

In reality, for each creature the mana leeched is the following:

,

where N is the number of creatures attacked and Leech is the Leech % depending on the level of the imbuement (Basic, Intricate or Powerful). Furthermore, the result is always rounded up. For N = 1, this simplifies to:

,

as one would expect.

Note that since the value is always calculated independently for each creature and rounded up, simply multiplying the first formula by N and consider the total damage dealt does not result in the total mana leeched and will underestimate the real value.

Tibian Environment

Time

  • 2.5 seconds = 1 Tibian minute
  • 30 minutes = 12 Tibian hours
  • 1 hour = 24 Tibian hours

House Rent

The formula for determining house rent is:

Where:

  • is furnishing value. Most houses do not have one (), but some houses such as House of Recreation have one (in this case ).
  • is the number of beds.
  • is rate, the gp/sqm rate. Usually this is an increment of 5gp/sqm.
  • is size, the amount of tiles in the house.

Example 1: Darashia 5, Flat 01 - 25 sqm, 1 bed, 0 furnishing value.

To find the other value, use either the rent or the rate. Since the rent is readily available:

Thus the rate is 40gp/sqm.

Example 2: Rathleton Plaza 2 - 56 sqm, 2 beds, 0 furnishing value.

To find the rent, you can also plug in the rate (if known), which is 45gp/sqm.

Spell/Rune Damage/Healing

NOTE: These formulae are based upon observed values after update 8.1.
All the spells have the same basic formula: , where is a decimal number and is an integer.
For PvP damage, just divide the final result by .

Healing spells:
Light Healing
Max healing:
Min healing:
Intense Healing
Max healing:
Min healing:
Wound Cleansing
Max healing:
Min healing:
Mass Healing
Max healing:
Min healing:
Ultimate Healing
Max healing:
Min healing:

Instant attack spells
Strike spells
Max damage:
Min damage:
Divine Missile
Max damage:
Min damage:
Ice Wave
Max damage:
Min damage:
Fire Wave
Max damage:
Min damage:

Rune attack spells
Light Magic Missile
Max damage:
Min damage:
Heavy Magic Missile/Stalagmite
Max damage:
Min damage:
Icicle/Fireball
Max damage:
Min damage:
Holy Missile
Max damage:
Min damage:
Sudden Death
Max damage:
Min damage:
Thunderstorm/Stone Shower
Max damage:
Min damage:
Avalanche/Great Fireball
Max damage:
Min damage:



These spells have not been tested by me (yet) so I'll leave the old formulae here.
NOTICE: These formulae are based upon observed values with c calculated to one tenth with fair certainty
min:
max:
avg:

* c = Multiplier for min of the desired attack spell/rune
* d = Multiplier for max of the desired attack spell/rune
The c values are roughly:

0 for Explosion [adevo mas hur] (note: the min damage of this spell is 0).

2.5 for Energy Beam [exevo vis lux]

4 for Great Energy Beam [exevo gran vis lux]

4 for Divine Caldera [exevo mas san]

3.5 for Terra Wave [exevo tera hur]

4.5 for Energy Wave [exevo vis hur]

10 for Heal Friend [exura sio]

5 for Rage of the Skies [exevo gran mas vis]

7 for Hell's Core [exevo gran mas flam]

5 for Wrath of Nature [exevo gran mas tera]

6 for Eternal Winter [exevo gran mas frigo]

18.5 for Divine Healing [exura san]


The d values are roughly:

4.8 for Explosion [adevo mas hur]

4 for Energy Beam [exevo vis lux]

7 for Great Energy Beam [exevo gran vis lux]

6 for Divine Caldera [exevo mas san]

7 for Terra Wave [exevo tera hur]

9 for Energy Wave [exevo vis hur]

14 for Heal Friend [exura sio]

12 for Rage of the Skies [exevo gran mas vis]

14 for Hell's Core [exevo gran mas flam]

10 for Wrath of Nature [exevo gran mas tera]

12 for Eternal Winter [exevo gran mas frigo]

25 for Divine Healing [exura san]

Melee

NOTICE: This formula is based upon observed values.

  • Minimum Damage:

  • Maximum Damage:

Where:

  • = Weapon's attack
  • = Damage Factor:
    • Full Attack:
    • Balanced:
    • Full Defence:
  • Let's take for example a player level 80, holding a weapon which has an attack value of 50, skills of 85 and he is attacking on full attack.
    • It would be like this: (377 rounded)
  • Damage factor


So the damage you will do will be between 0 and the calculated number, please note that shielding and armor from the target will reduce your damage. The average damage you will deal is approximately half your maximum damage. Also note, this doesn't take into account monsters weakness or strength to physical damage and if you use blood rage, you'll have to use the appropriate skills in place of your normal skills.

Melee based spells

NOTICE: This formula is based upon observed values.

  • atk = Weapon's attack

min:

max:

avg:


min:

max:

avg:

min:

max:

avg:


min:

max:

avg:


Note: As usual, damage is reduced by armor but none of these abilities can be blocked by shielding. Also note, this doesn't take into account monsters weakness or strength to physical damage and if you use blood rage, you'll have to use the appropriate skills in place of your normal skills.

Distance

NOTE: These formulae are based upon observed values.

  • Minimum Damage:

  • Maximum Damage:


  • = Weapon's attack
  • = Damage Factor:
    • Full Attack:
    • Balanced:
    • Full Defence:

To calculate your damage in PvP, divide the result by .

Note that armor of the target will reduce your damage.

  • Chance to hit (without weapon hit chance modifier)
Distance1H weapon (throwing)2H weapon (any bow or crossbow)Any bow + Sniper Arrows
1
2
3
4
5
6
7

Distance based spells

NOTICE: This formula is based upon observed values.

min:

max:

avg:


Armor

Note that:

  • Armor reduction will only apply when damage crosses the shield.
  • The damage armor needs to reduce may be lower than original damage because of the shield reduction.
  • If you get a negative number as armor reduction, it means 0.
  • Floor function is used here, basically it means that we remove decimals.
  • Ceil function is used here, basically it means that we round up numbers with decimals to next integer.

Variables:

  • r = minimum armor reduction
  • R = maximum armor reduction
  • t = total armor
  • d = damage (after the shield)
  • p = percentage reduction of item

Armor Reduction



where denotes floor function (rounding down).

Percentage Reduction

This formula have to be applied for every single item that has percentage reduction.

Example

You get a hit with original value of 200 wearing only Zaoan Helmet and Protection Amulet

t = total armor = 9
r = 4
R = 7

Now we calculate the % reduction that Zaoan Helmet has

p = 5
d = 190

Now we calculate the % reduction that Protection Amulet has

p = 6
d = 178

For this example, damage becomes 178, minimum armor reduction will be 4 and maximum armor reduction will be 7, so the hit will hit you from 171 to 174.

Armor and Defense

  • Damage reduction

Min:

Max:

  • Attack of Creature = a

(Let's supose that a creature has a max damage of 500. The attack of creature will be a random number from 1 to 500)

  • Defense = b (Defense value of your shield plus your weapon modifier or defense value of your two handed weapon)
  • Total Armor = c (Make a sum of all your set arm value)
  • Shielding = d
  • Defense factor = e

Full Attack: 5
Balanced: 7
Defensive: 10

Now use this formula:

NOTICE: The max damage of a creature could be higher than the max damage in creatures page.