Difference between revisions of "Combat Damage"
(→Damage Reduction) |
m |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
Damage is calculated in several steps. It is not ''essential'' to understand how these numbers arise, but it is beneficial for players who want to make the most informed decisions. For determining whether an attack hits in the first place, see [[Saves and To-Hit]]. | Damage is calculated in several steps. It is not ''essential'' to understand how these numbers arise, but it is beneficial for players who want to make the most informed decisions. For determining whether an attack hits in the first place, see [[Saves and To-Hit]]. | ||
+ | |||
+ | Damage = (0.3 * (rescaled_physical_power + rescaled_stats) * weapon_power * talented_mod) ^1.04 | ||
== Weapon damage calculation == | == Weapon damage calculation == | ||
===Step 1: Stats=== | ===Step 1: Stats=== | ||
− | Surprisingly (for people who have played other RPGs), your [[stats]] are actually the most important factor in determining your combat damage | + | Surprisingly (for people who have played other RPGs), your [[stats]] are actually the most important factor in determining your combat damage. Which stats are used depends on the weapon, and in some cases, on your [[talents]]. |
− | For example, a longsword says ''100% Str'' which means it uses your [[Strength]] and nothing else. A dagger says '' | + | For example, a longsword says ''100% Str'' which means it uses your [[Strength]] and nothing else. A dagger says ''50% Str, 50% Dex'' which means it uses your [[Strength]] (times 0.5) plus your [[Dexterity]] (times 0.5). However, if you have the [[Lethality (talent)|Lethality]] talent, this overrides the ''50% Str'' part and forces the calculation to use your [[Cunning]] (times 0.5) instead. So a [[Bulwark]] with a longsword the damage is somewhat proportional to Str*1.0; for a [[Rogue]] with a dagger, it would be Cun*0.5+Dex*0.5. |
The result of this step is stored in a variable called <tt>totstat</tt> (for "total stats"). | The result of this step is stored in a variable called <tt>totstat</tt> (for "total stats"). | ||
+ | This amount is then put through a [[rescaled combat stats|reducing formula]]. | ||
− | As an example, let's take a Rogue with 41 Dexterity and 35 Cunning, who has the [[Lethality (talent)|Lethality]] talent. His <tt>totstat</tt> (using a dagger) is 41*0. | + | As an example, let's take a Rogue with 41 Dexterity and 35 Cunning, who has the [[Lethality (talent)|Lethality]] talent. His <tt>totstat</tt> (using a dagger) is 41*0.5 + 35*0.5, or 38. His Strength doesn't matter, because [[Lethality (talent)|Lethality]] overrides it. Because this is less than 45, it is not changed by the scaling formula. |
===Step 2: Base weapon damage=== | ===Step 2: Base weapon damage=== | ||
− | The second most important factor in determining your damage is your weapon's base damage. | + | The second most important factor in determining your damage is your weapon's base damage. |
− | + | ||
− | + | ||
+ | This is usually displayed as a range of numbers; we want the lower one. | ||
+ | We convert the weapon's power into a multiplying factor. We use this formula: | ||
power = (sqrt(base_dmg / 10) + 1) / 2 | power = (sqrt(base_dmg / 10) + 1) / 2 | ||
+ | If weapon's base damage is 28, then power comes out to approximately 1.337. | ||
− | + | It may be displayed as a percentage, 134%. | |
===Step 3: Mastery Talent modifier=== | ===Step 3: Mastery Talent modifier=== | ||
− | Each type of weapon has a [[talent]] that boosts its damage output. For most weapons, this is {{t|Weapons Mastery}}. For daggers, it is {{t|Dagger Mastery}}. Bows and slings use {{t|Bow Mastery}} and {{t|Sling Mastery}} respectively. For [[mindstars]], it is {{t|Psiblades}}. Other classes, such as [[Temporal Warden]]s, [[Brawler]]s, [[Stone Warden]]s, [[Sawbutcher]]s, [[Gunslinger]]s, and [[Psyshot]]s have their own class specific | + | Each type of weapon has a [[talent]] that boosts its damage output. For most weapons, this is {{t|Weapons Mastery}}. For daggers, it is {{t|Dagger Mastery}}. Bows and slings use {{t|Bow Mastery}} and {{t|Sling Mastery}} respectively. For [[mindstars]], it is {{t|Psiblades}}. Other classes, such as [[Temporal Warden]]s, [[Brawler]]s, [[Stone Warden]]s, [[Sawbutcher]]s, [[Gunslinger]]s, and [[Psyshot]]s have their own class specific version of these talents. |
We use this formula: | We use this formula: | ||
− | talented_mod = sqrt(eff_talent_level / 5) / | + | talented_mod = sqrt(eff_talent_level / 5) / 1.5 + 1 |
− | With a raw [[Dagger mastery (talent)|Dagger Mastery]] talent level of 5, and a mastery of 1.30 in Combat training, this gives an effective talent level of 6.5. Therefore the <tt>talented_mod</tt> variable is about 1. | + | With a raw [[Dagger mastery (talent)|Dagger Mastery]] talent level of 5, and a mastery of 1.30 in Combat training, this gives an effective talent level of 6.5. Therefore the <tt>talented_mod</tt> variable is about 1.76. |
− | This can also be found in the relevant talent's description: ''increases weapon damage by | + | This can also be found in the relevant talent's description: ''increases weapon damage by 76% when using daggers''. |
===Step 4: Physical power=== | ===Step 4: Physical power=== | ||
Line 40: | Line 44: | ||
For our example, we'll assume our Rogue has a physical power of 27. | For our example, we'll assume our Rogue has a physical power of 27. | ||
+ | |||
+ | Physical power is used here for all weapon based attacks, even for weapons such as steamguns, mindstars, and staves using {{t|Channel Staff}}. | ||
===Step 5: Total damage before rescaling=== | ===Step 5: Total damage before rescaling=== | ||
Line 47: | Line 53: | ||
dam = 0.3 * (phys_power + totstat) * power * talented_mod | dam = 0.3 * (phys_power + totstat) * power * talented_mod | ||
− | + | Continuing our example, our Rogue has a pre-rescaling damage of 0.3 * (27 + 38) * 1.337 * 1.570, or about 40.93. | |
− | + | ||
− | Continuing our example, our Rogue has a pre-rescaling damage of 0.3 * (27 + | + | |
===Step 6: Rescale damage=== | ===Step 6: Rescale damage=== | ||
Line 56: | Line 60: | ||
damage = dam ^ 1.04 | damage = dam ^ 1.04 | ||
− | So, the final output in our Rogue example is | + | So, the final output in our Rogue example is 40.93 ^ 1.04, or 47.48. |
− | This will be | + | This will be rounded to 47 on the character sheet. |
== Applying the damage == | == Applying the damage == | ||
Line 67: | Line 71: | ||
The base damage of a weapon attack is shown in the attack tab of your character sheet, using the calculations shown above. | The base damage of a weapon attack is shown in the attack tab of your character sheet, using the calculations shown above. | ||
− | Here we are going to use the example of [[Cornac]] [[Bulwark]] smacking a [[Shalore]] [[Mindslayer]] with a sword. We'll assume the basic damage calculated in the previous section comes out to 50. | + | Here we are going to use the example of [[Cornac]] [[Bulwark]] (Smasher) smacking a [[Shalore]] [[Mindslayer]] (Squishy) with a sword. We'll assume the basic damage calculated in the previous section comes out to 50. |
Accuracy (main Hand) 45 | Accuracy (main Hand) 45 | ||
Line 73: | Line 77: | ||
APR (main Hand) 8 | APR (main Hand) 8 | ||
Crit (main Hand) 8% | Crit (main Hand) 8% | ||
− | |||
Result so far: 50 | Result so far: 50 | ||
− | ====Step 2: | + | ====Step 2: Damage Range==== |
− | + | Damage range is displayed if you have advanced weapon statistics turned on. | |
+ | Otherwise, damage range can be found by dividing the second number in the power of your weapon by the first number. This is then used to increase the damage to between the base damage and the base damage multiplied by the range, randomly. Smasher is using a Dwarven-Steel Longsword, that shows up like: | ||
− | + | Base Power: 20 - 28 | |
− | + | By dividing (28/20), you can get the damage range of 1.4. A random number is then chosen between 50 (the damage) and 70 (damage * range). In this example, it is 57 (whole numbers only). | |
− | Result so far: | + | Result so far: 57 |
− | ====Step 3: | + | ====Step 3: Armour and Armour Hardiness==== |
− | + | Armour reduces damage at this point, making it very effective. Armour is capped by armour hardiness, and reduced by armour piercing (APR). Enemy armour and armour hardiness are shown in their tooltip. | |
− | + | Hardiness/Armour: 30% / 12 | |
− | + | Armour Hardiness specifies the maximum percentage of the attack that can be blocked by armour. Squishy's hardiness is 30%, which means that it can reduce a maximum of 15 base damage (30% of 50). Squishy's armour is 12, which is modified by APR before subtracting from base damage. The attacker's APR is 8, leading to an effective armour of 4. 4 is less than the maximum allowable by Hardiness (15), so it is used. This is subtracted from Smasher's base damage, which reduces it to 53. | |
− | Result so far: | + | Result so far: 53 |
====Step 4: Talents==== | ====Step 4: Talents==== | ||
− | Smasher attacked with Dirty Fighting (lvl 2) for 52% damage, which is a fairly straightforward multiplication. | + | Smasher attacked with Dirty Fighting (lvl 2) for 52% damage, which is a fairly straightforward multiplication. 53 * 52% = 27.56 |
− | Result so far: | + | Result so far: 27.56 |
====Step 5: Critical Hits==== | ====Step 5: Critical Hits==== | ||
− | Critical hits are a chance to do extra damage. The chance is found in the attack tab, near the damage and APR found previously, and is 8% in this example. The amount of damage that a critical hit does is multiplied by the "Critical mult.", found under the Damage Mods column. The default is 150%, and it can be raised by various means. Smasher got lucky, and got a critical hit. | + | Critical hits are a chance to do extra damage. The chance is found in the attack tab, near the damage and APR found previously, and is 8% in this example. The amount of damage that a critical hit does is multiplied by the "Critical mult.", found under the Damage Mods column. The default is 150%, and it can be raised by various means. Smasher got lucky, and got a critical hit. 27.56 * 150% = 41.34 |
− | Result so far: | + | Result so far: 41.34 |
====Step 6: Offhand Multiplier==== | ====Step 6: Offhand Multiplier==== | ||
Line 116: | Line 120: | ||
====Increased Damage==== | ====Increased Damage==== | ||
− | + | Increased damage effects all add together. If you have +25% physical damage and +25% damage against living and attack a living foe with a physical attack, the resulting damage will be multiplied by 1.5. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
====Resistances==== | ====Resistances==== | ||
Line 128: | Line 126: | ||
====Damage Reduction==== | ====Damage Reduction==== | ||
− | It is at this point that [[Damage | + | It is at this point that [[Damage reduction]]s are applied. |
Latest revision as of 03:56, 9 August 2022
Damage is calculated in several steps. It is not essential to understand how these numbers arise, but it is beneficial for players who want to make the most informed decisions. For determining whether an attack hits in the first place, see Saves and To-Hit.
Damage = (0.3 * (rescaled_physical_power + rescaled_stats) * weapon_power * talented_mod) ^1.04
Contents
Weapon damage calculation
Step 1: Stats
Surprisingly (for people who have played other RPGs), your stats are actually the most important factor in determining your combat damage. Which stats are used depends on the weapon, and in some cases, on your talents.
For example, a longsword says 100% Str which means it uses your Strength and nothing else. A dagger says 50% Str, 50% Dex which means it uses your Strength (times 0.5) plus your Dexterity (times 0.5). However, if you have the Lethality talent, this overrides the 50% Str part and forces the calculation to use your Cunning (times 0.5) instead. So a Bulwark with a longsword the damage is somewhat proportional to Str*1.0; for a Rogue with a dagger, it would be Cun*0.5+Dex*0.5.
The result of this step is stored in a variable called totstat (for "total stats"). This amount is then put through a reducing formula.
As an example, let's take a Rogue with 41 Dexterity and 35 Cunning, who has the Lethality talent. His totstat (using a dagger) is 41*0.5 + 35*0.5, or 38. His Strength doesn't matter, because Lethality overrides it. Because this is less than 45, it is not changed by the scaling formula.
Step 2: Base weapon damage
The second most important factor in determining your damage is your weapon's base damage.
This is usually displayed as a range of numbers; we want the lower one. We convert the weapon's power into a multiplying factor. We use this formula:
power = (sqrt(base_dmg / 10) + 1) / 2
If weapon's base damage is 28, then power comes out to approximately 1.337.
It may be displayed as a percentage, 134%.
Step 3: Mastery Talent modifier
Each type of weapon has a talent that boosts its damage output. For most weapons, this is Weapons Mastery. For daggers, it is Dagger Mastery. Bows and slings use Bow Mastery and Sling Mastery respectively. For mindstars, it is Psiblades. Other classes, such as Temporal Wardens, Brawlers, Stone Wardens, Sawbutchers, Gunslingers, and Psyshots have their own class specific version of these talents.
We use this formula:
talented_mod = sqrt(eff_talent_level / 5) / 1.5 + 1
With a raw Dagger Mastery talent level of 5, and a mastery of 1.30 in Combat training, this gives an effective talent level of 6.5. Therefore the talented_mod variable is about 1.76.
This can also be found in the relevant talent's description: increases weapon damage by 76% when using daggers.
Step 4: Physical power
Physical power is a rescaled combat stat. We won't go into the factors that affect it here; get it from your character's tooltip.
For our example, we'll assume our Rogue has a physical power of 27.
Physical power is used here for all weapon based attacks, even for weapons such as steamguns, mindstars, and staves using Channel Staff.
Step 5: Total damage before rescaling
Now we combine all our numbers together, using this formula:
dam = 0.3 * (phys_power + totstat) * power * talented_mod
Continuing our example, our Rogue has a pre-rescaling damage of 0.3 * (27 + 38) * 1.337 * 1.570, or about 40.93.
Step 6: Rescale damage
This is the final step in determining the base damage shown on the character sheet. The damage figure calculated in the previous step is run through this formula:
damage = dam ^ 1.04
So, the final output in our Rogue example is 40.93 ^ 1.04, or 47.48.
This will be rounded to 47 on the character sheet.
Applying the damage
Determining Weapon Damage
Step 1: Weapon damage
The base damage of a weapon attack is shown in the attack tab of your character sheet, using the calculations shown above.
Here we are going to use the example of Cornac Bulwark (Smasher) smacking a Shalore Mindslayer (Squishy) with a sword. We'll assume the basic damage calculated in the previous section comes out to 50.
Accuracy (main Hand) 45 Damage (main Hand) 50 APR (main Hand) 8 Crit (main Hand) 8%
Result so far: 50
Step 2: Damage Range
Damage range is displayed if you have advanced weapon statistics turned on. Otherwise, damage range can be found by dividing the second number in the power of your weapon by the first number. This is then used to increase the damage to between the base damage and the base damage multiplied by the range, randomly. Smasher is using a Dwarven-Steel Longsword, that shows up like:
Base Power: 20 - 28
By dividing (28/20), you can get the damage range of 1.4. A random number is then chosen between 50 (the damage) and 70 (damage * range). In this example, it is 57 (whole numbers only).
Result so far: 57
Step 3: Armour and Armour Hardiness
Armour reduces damage at this point, making it very effective. Armour is capped by armour hardiness, and reduced by armour piercing (APR). Enemy armour and armour hardiness are shown in their tooltip.
Hardiness/Armour: 30% / 12
Armour Hardiness specifies the maximum percentage of the attack that can be blocked by armour. Squishy's hardiness is 30%, which means that it can reduce a maximum of 15 base damage (30% of 50). Squishy's armour is 12, which is modified by APR before subtracting from base damage. The attacker's APR is 8, leading to an effective armour of 4. 4 is less than the maximum allowable by Hardiness (15), so it is used. This is subtracted from Smasher's base damage, which reduces it to 53.
Result so far: 53
Step 4: Talents
Smasher attacked with Dirty Fighting (lvl 2) for 52% damage, which is a fairly straightforward multiplication. 53 * 52% = 27.56
Result so far: 27.56
Step 5: Critical Hits
Critical hits are a chance to do extra damage. The chance is found in the attack tab, near the damage and APR found previously, and is 8% in this example. The amount of damage that a critical hit does is multiplied by the "Critical mult.", found under the Damage Mods column. The default is 150%, and it can be raised by various means. Smasher got lucky, and got a critical hit. 27.56 * 150% = 41.34
Result so far: 41.34
Step 6: Offhand Multiplier
Offhand weapons only do 50% damage, unless the attacker has a talent that increases this, such as Dual Weapon Training or Corrupted Strength. Offhand mindstars do full damage.
Since this is not an offhand weapon, there is no adjustment in this step.
Result so far: 44.46
Common Damage Modifiers
All sources of damage are affected the same by the following things in this order.
Increased Damage
Increased damage effects all add together. If you have +25% physical damage and +25% damage against living and attack a living foe with a physical attack, the resulting damage will be multiplied by 1.5.
Resistances
It is at this point that Resistances are applied.
Damage Reduction
It is at this point that Damage reductions are applied.