Damage: Difference between revisions

From PWI Wiki
Jump to navigationJump to search
PWpedia>Conner2950
PWpedia>Asterelle
Added Spirit
 
(37 intermediate revisions by 8 users not shown)
Line 1: Line 1:
There are many factors which effect how much damage is dealt by the various attacks available to players and this page will explain as much as possible.
There are many factors which affect how much damage is dealt by the various attacks available to players, and this page will explain all of them as specifically as possible.


Warning this page contains formulas! Also know your order of operations.
Warning this page contains formulas!


== Damage Range ==
== Damage Range ==


Most attacks in the game do not deal simple fixed values but can deal damage over a range of values that comes from the base damage range.  The formulas on this page can be applied to the average damage of the range to find an average result or it can be applied individually to both the minimum and maximum damage values to find the true range of the damage.  The average damage is more meaningful when looking at your average DPS (damage per second) but having a high maximum damage can be desirable in PVP situations where high spike damage is difficult to defend against.     
Most attacks in the game do not deal simple fixed values but can deal damage over a range of values that comes from the base damage range.  The formulas on this page can be applied to the average damage of the range to find an average result or it can be applied individually to both the minimum and maximum damage values to find the true range of the damage.  The average damage is more meaningful when looking at your average DPS (damage per second) but having a high maximum damage can be desirable in PvP situations where high spike damage is difficult to defend against.     


Actual damage will be a value randomly picked between the minimum value and the maximum value of the damage range.  This applies to the physical damage range for physical attacks or the magical damage range for magical attacks.  The only equipment that contributes a range of damage is the weapon which has a base range and equipment with the stats "+Maximum Physical Attack" or "+Maximum Magical Attack" which only add to the maximum of their respective ranges.  
Actual damage will be a value randomly picked between the minimum value and the maximum value of the damage range.  This applies to the physical damage range for physical attacks or the magical damage range for magical attacks.  The only equipment that contributes a range of damage is the weapon which has a base range and equipment with the stats "+Maximum Physical Attack" or "+Maximum Magical Attack" which only add to the maximum of their respective ranges.  
 
<br><br>


== Base Damage ==
== Base Damage ==
Base damage is the attack shown in your character sheet.  For physical attacks, the base damage is equal to the damage you deal with a normal attack of your weapon.
Base damage is the physical \ magical attack shown in your character info ingame.  For physical attacks, the base damage is equal to the damage you deal with a normal attack of your weapon.


:''base damage = attack multiplier * weapon attack''
:''base damage = attack multiplier * weapon attack''
 
<br>


== Weapon Attack ==
== Weapon Attack ==
Weapon attack in general is how much your weapon contributes to your damage.
Weapon attack in general is how much your weapon contributes to your damage. This is basically the sum of all the physical \ magical attack attribute on player's gear and level.


:''weapon attack = attack from weapon + attack from gem in weapon + attack from rings and other equipment + character level''
:''weapon attack = attack from weapon + attack from shards in weapon + attack from rings and other equipment + character level''


Don't forget about the +att or +max att adds on the weapon
Don't forget about the +attack or +max attack adds on the weapon.


Weapon attack can also be gained from attack charms.   Ammo contributes to the weapon attack for ranged weapons.   
Weapon attack can also be gained from attack charms. Ammo contributes to the weapon attack for ranged weapons.   
Other than character level all other factors of weapon attack are found from equipment.  Weapon attack can be increased by upgrading equipment.
Other than character level all other factors of weapon attack are found from equipment.  Weapon attack can be increased by refining or sharding damage shard (garnet or sapphire) to weapons.
<br><br>


== Attack Multiplier ==
== Attack Multiplier ==
Line 30: Line 31:
The attack multiplier comes from how your stats, masteries, and buffs contribute to your base damage.
The attack multiplier comes from how your stats, masteries, and buffs contribute to your base damage.


Daggers and Ranged Weapons:
Daggers and ranged weapons:
:''attack multiplier = 1 + DEX/150 + weapon mastery + physical attack buffs''
:''attack multiplier = 1 + ( Dex / 150 ) + weapon mastery + physical attack buffs''
 
Melee weapons:
:''attack multiplier = 1 + ( Str / 150 ) + weapon mastery + physical attack buffs''


Melee Weapons
Magic weapons:
:''attack multiplier = 1 + STR/150 + weapon mastery + physical attack buffs''
:''attack multiplier = 1 + ( Mag / 100 ) + magical attack buffs''


Magic Weapons
Where ( Dex / 150 ) and ( Str / 150 ) are rounded to 2 decimal places. ( Ex. 1 + ( 100 / 150 ) + 0 + 0 = 1.67 )
:''attack multiplier = 1 + MAG/100 + magical attack buffs''


Example:<br>
Example:<br>
For an archer with 450 Dex and level 10 bow mastery<br>
For an archer with 450 Dex and level 10 bow mastery<br>
attack multiplier = 1 + 450/150 + 0.6 = 4.6
attack multiplier = 1 + ( 450 / 150 ) + 0.6 = 4.6


This means his base damage is 4.6 times his weapon attack.
This means his base damage is 4.6 times his weapon attack.


'''Comparison of sources of physical attack multiplier:'''
'''Comparison of sources of physical attack multiplier:'''
:Level 10 bow mastery adds 60% weapon attack
:Level 10 bow mastery adds 60% (+0.6 to attack multiplier) weapon attack
:Level 10 Strength of Titans attack buff adds 30% weapon attack
:Level 10 Strength of Titans attack buff adds 30% (+0.3 to attack multiplier) weapon attack
:Level 10 take aim adds 300% weapon attack
:Level 10 take aim adds 300% (+3.0 to attack multiplier) weapon attack
:Level 3 True Form removes 50% weapon attack
:Level 3 True Form removes 50% (-0.5 to attack multiplier) weapon attack
:150 Dex adds 100% weapon attack
:150 Str or Dex adds 100% weapon attack
:Spark Eruption adds 150% weapon attack
:Spark Eruption adds 150% weapon attack
:Advanced Spark Eruption adds 300% - 400% attack
:Advanced Spark Eruption adds 300% - 400% attack
:Demon / Sage Spark Eruption adds 500% attack
:Demon / Sage Spark Eruption adds 500% attack
:Gloom weapon proc adds 100% attack as does Unrelenting
:Gloom weapon proc adds 100% attack as does Unrelenting
<br>
'''Elemental damage such as from buffed skill (Frostblade, Blazing Arrow, Poison Fang, Condensed Thorn... etc.) or elemental damage shard on weapon does not get multiplied by attack multiplier''' *please confirm*
== Attacks Per Second ==
Attacks per second (APS) is a measure of your attack rate when using normal attacks and depends largely on your weapon and gear.  In many ways it is easier to consider the attack interval instead which is the inverse of your attack rate.
:''APS = 1 / attack interval''
:''attack interval = 1 / APS''
Attack intervals are always multiples of 0.05 seconds as that is the smallest unit of time the game uses.
An assassin's dagger normally has a rate of 1.25 attacks/second, meaning that each attack is .8 seconds long, or that it has an interval of .8 seconds.
There are two ways that we can increase this attack rate: -interval gear, and skills to increase your attack rate by a percentage.
In the case of gear, once we have determined the attack interval, we simply subtract the gear value from it.
:''base attack interval = base attack interval for weapon type - attack interval from gear''
Going back to assassin's daggers, the TT80 Hook and Thorns have the interval -.05 stat on them, meaning that their interval is .75 instead of .8. This gives them an attack rate of:
:''1 / .75 = 1.33''
The second way to increase your attack rate is through the use of skill such as Demon Spark or Heaven's Wrath. In this case, we need to multiply the interval we have by the new percentage of the attack rate:
:''new attack interval = base attack interval * ( 1 - attack speed increase % )''
If our Hook and Thorn wielding sin used Demon Spark (25% increase), his new attack interval would be:
:''.75 * ( 1 - .25 ) = .5625''
Since the new attack interval is not evenly divisible by .05, we need to round down to the nearest interval. In this case, we get ''.55''.
Translating this back to attack rate, we get:
:''1 / .55 = 1.82 attacks/second''


== Skill Damage ==
== Skill Damage ==


Most skills are of the form
Most skills are of the form:
:''skill damage = base damage + skill weapon attack multiplier * weapon attack + constant damage''
:''skill damage = base damage + skill weapon attack multiplier * weapon attack + constant damage''


You can simplify this to  
You can simplify this to:
:''skill damage = (base weapon attack multiplier + skill weapon attack multiplier) * weapon attack + constant damage''
:''skill damage = ( ( base weapon attack multiplier + skill weapon attack multiplier ) * weapon attack ) + constant damage''
 
<br>


== Amplifying Damage ==  
== Amplifying Damage ==  
There are several skills that can amplify the damage you do as well as magical mastery.  Sources of damage amplification are multiplied together. For example a 30% amplification from Sage Amplify Damage when combined with 20% amplification from extreme poison will give 56% more total amplification since (1.3) * (1.2) = 1.56
There are several skills that can amplify the damage you do as well as magical mastery.  Sources of damage amplification are multiplied together.


:''skill damage dealt = skill damage * product( 1 + amplification from each debuff )''
:''skill damage dealt = skill damage * product( 1 + amplification from each debuff )''


'''Comparison of sources of amplify damage'''
"Product", meaning the all 1+amplifications in the parentheses multiplied together.  For example, a 30% amplification from sage Amplify Damage when combined with a 20% amplification from Extreme Poison will give 56% total amplification since (1.3) * (1.2) = 1.56 (which is the product, in this case).
 
'''Comparison of sources of amplify damage:'''
:20% more damage from Extreme Poison
:20% more damage from Extreme Poison
:100% more damage from Heaven's Flame
:100% more damage from Heaven's Flame
:20% more damage from level 10 veno Amplify Damage
:20% more damage from level 10 veno Amplify Damage
:20% from level 10 magic masteries
:20% from level 10 magic masteries
<br>


== Critical Hit ==
== Critical Hit ==
A crit is an attack that does more damage than a normal attack.  This damage is given as the rage damage multiplier in your char sheet and is 200% for all classes but Assassins who have a skill to get 230% rage damage.  Your chance to crit is given in your character sheet and come from equipment, crit buffs, the rainbow blessing buff, and Dex.
A crit is an attack that does more damage than a normal attack.  This damage is given as the rage damage multiplier in your char sheet and is 200% for all classes but Assassins who have a skill to get 230% rage damage.  Your chance to crit is given in your character sheet and come from equipment, crit buffs, the Rainbow Blessing (cleric-only genie skill) buff, and Dex.
 
:''chance to crit = 1 + ( Dex / 20 ) + crit from equipment + crit from buffs''


:''chance to crit = 1 + (Dex / 20) [rounded down] + crit from equipment + crit from buffs''
Where ( Dex / 20 ) is rounded down.


:''crit damage = rage damage * damage inflicted''
:''crit damage = rage damage * damage inflicted''
<br>
== Damage Reductions ==
There are several sources of damage reductions. 
<br><br>
=== PvP Damage Reduction ===
In PvP all damage is reduced by '''75%''' (corresponding to a damage multiplier of 25%).  This does not apply to some attacks from venomancer pets.
<br><br>
=== Terrain-Based Damage Reduction ===
In PWI combat can occur on land, in water, and in the air.  If both the attacker and target are in the same terrain then the target will take full damage.  If they are on different terrain then there may be a 50% damage reduction.  This damage reduction applies to both melee and ranged attacks but does not apply to mobs, venomancer/mystic pets, or [[Status_Icon_Reference_Guide#Damage_Over_Time_Icons|Damage Over Time]] (DOT) effects.
{| {{DefTable}}
|colspan=2|'''Target''' || Air || Land || Water
|-
|rowspan=3|'''Attacker''' || Air || 100% || 50% || 50%
|-
|Land || 100% || 100% || 50%
|-
|Water || 50% || 50% || 100%
|}
<br>


=== Level Difference Damage Reduction ===


== Damage Reductions ==
If the target is a higher level than the attacker then a level difference damage reduction may apply.  This damage reduction is ignored by venomancer / mystic pets which makes those particularly effective fighting against ?-level mobs (which count as level 150).


There are several sources of damage reductions
{| {{DefTable}}
|Target Level minus<br> Attacker Level || Damage <br> Multiplier
|-
| < 3 || 100%
|-
| 3 - 5 || 90%
|-
| 6 - 8 || 80%
|-
| 9 - 11 || 70%
|-
| 12 - 15 || 60%
|-
| 16 - 20 || 50%
|-
|  > 20 || 25%
|}
<br>


PvP Damage reduction of '''75%''' (note this does not apply to some attacks from veno pets)
=== Skill-Based Damage Reduction ===


Air to Ground Damage Reduction of '''50%''' (ignored by veno pets)
A number of skills provide the [[Status_Icon_Reference_Guide#Bless | Bless]] buff and similar buffs which reduce damage.  These skills do not apply to damage done from damage over time (DOT) effects.


Damage reduction for fighting something more than 5 or more levels than you (ignored by veno pets)
'''Some examples of skill-based damage reduction:'''
* maxes out at '''75%''' reduction for fighting a target 40 levels above you such as a ?-level mob
:Blue bubble (50% reduction)
:Invoke (90% reduction)
:Sage spark (25% reduction)
:Wings of grace (30% reduction)
:Guardian light (60% reduction)
:Bramble hood (75% reduction)
<br>


Bless damage reduction from the 'bless buff', most classes have a skill that will give them this buff
=== Ranged Weapon Damage Reduction ===


Damage delivered through these reductions all multiply together so don't bother shooting a player that is 40 levels higher than you from the air (unless you use a nix).
This damage reduction in particular affects archers, but actually applies to any attacker using a bow.  Ranged weapons have a '''50%''' damage reduction if the target is closer than the minimum effective range of the weapon.


Damage delivered means 1 - reduction, so for example with 25% reduction you have 0.75 delivered.
{| {{DefTable}}
|Weapon Type || Minimum <br>Effective Range
|-
| Crossbow || 5.5m
|-
| Bow || 5m
|-
| Slingshot || 4.5m
|}


:''damage dealt = skill damage dealt * PvP damage delivered * air to ground delivered * level delivered * bless delivered''
Most archer skills suffer from this range reduction.  The ones that have no minimum effective range are Winged Pledge, Wingspan, and the metal-dealing skills.
<br><br>


'''Comparison of sources of bless damage reduction:'''
=== High APS Damage Reduction ===
:Blue bubble (50%)
:Invoke (90%)
:Sage spark (25%)
:Wings of grace (30%)
:Guardian light (60%) 
:Bramble hood (75%)


When the attack rate of your character is either 4.0 or 5.0 attacks per second, damage done by normal attacks is reduced by 5%.  This damage reduction was added in the Descent expansion and does not otherwise show up in your character info window.  There is also an unconfirmed 20% loss of accuracy with 4.0 and 5.0 attack rates.
<br>


== Resistance ==
== Resistance ==


Physical resistance is based on your STR, VIT, and equiment defense (the sum of the physical defense found on all of your equipment).  Similarly magical resistance is based on your MAG, VIT, and equipment magical resistance.  Magical resistance should be calculated separately for each of the 5 magical elements but most equipment has the same resistance across the elements.   
Physical Resistance is based on your Str, Vit, and equipment defense (the sum of the Physical Defense found on all of your equipment).  Similarly Magical Resistances are based on your Mag, Vit, and equipment Magical Resistances.  Magical Resistances should be calculated separately for each of the 5 magical elements, but most equipment has the same resistance across all the elements.   


:''physical defense = str/4 + vit/4 + equip.pdef*((str+0.7*vit)/(750+level) + 1)''
:''physical defense = Round{ ( Vit + Str - 2 ) / 4 } + Round{ Def * ( 1 + Round{ ( ( 2 * Vit ) + ( 3 * Str ) ) / 25 } / 100 ) } + 1''
:''magic resistance = (mag-1)/4 + (vit-1)/4 + equip.mdef*((mag+0.7*vit)/(750+level) + 1)''
:''magic resistance = Round{ ( Vit + Mag - 2 ) / 4 } + Round{ Res * ( 1 + Round{ ( ( 2 * Vit ) + ( 3 * Mag ) ) / 25 } / 100 ) }''


The above formulas for defense give the defense found in the character sheet but are only about 96.3% accurate.  If anyone knows a more exact formula please add it to the page.  
Defense and resistance work by lowering damage according to the following formula.  (Values within "Round{ x }" are rounded to the nearest integer.)


Defense and resistance work by lowering damage according to the following formula.
:''physical reduction% = physical defense / ( ( 40 * attacker level ) + physical defense - 25 )''
:''magical reduction% = magic resistance / ( ( 40 * attacker level ) + magical resistance - 25 )''


:''physical reduction % = physical defense / (40 * attacker level + physical defense)''
The reduction is rounded down to two decimal places.
:''magical reduction % = magic resistance / (40 * attacker level + magical resistance)''


:''damage delivered = damage dealt * ( 1 - reduction % ) ''
:''damage delivered = damage dealt * ( 1 - reduction% ) ''


The above reduction percentages are shown in the character sheet when hovering over the stat.
The above reduction percentages are shown in the character sheet when hovering over the stat. If equipment adds a physical damage reduction stat it does not contribute to this reduction%.  This is a separate reduction that applies in a different step from the above.
If equipment adds a physical damage reduction stat it does not contribute to this reduction %.  This is a separate reduction that applies in a different step from the above.


:''physical damage delivered = damage dealt * ( 1 - defense reduction% ) * ( 1 - total physical damage reduction from equipment% )''
:''physical damage delivered = damage dealt * ( 1 - defense reduction% ) * ( 1 - total physical damage reduction from equipment% )''
Note that in-game statistics menu reductions are shown as truncated numbers (39.7% reduction will be shown as 39% in menu). To receive exact results, you shouldn't omit fractions.
<br><br>
== Attack and Defense Levels ==
Attack and Defense Levels come from various skills, Jones' Blessing and other bless boxes, grade 12 gems, and powerful equipment.  The damage depends on the attacker's Attack Level and the target's Defense Level.  For PVE, all mobs have a base of 0 attack level and 0 defense level but these can be modified with buffs and debuffs.  Before the Sirens of War expansion attack and defense levels did not apply to Damage Over Time (DOT) effects but now they do.
if ( attack level > defense level ) then:
:''damage taken = damage delivered * ( 1 + ( attack level - defense level ) / 100 )''
if ( attack level < defense level ) then:
:''damage taken = damage delivered / ( 1 + ( 1.2 * ( defense level - attack level ) / 100 ) )''
Damage results are rounded down. For example, a damage result of 367.9 becomes 367.
<br><br>
== Slaying Levels and Warding Levels ==
Slaying and Warding Levels come from new gear found in the Descent expansion. They are similar to Attack Levels / Defense Levels but only apply to PvE damage dealt / received.
Slaying Levels are a PvE-only damage amplification that only applies to damage dealt to mobs.  It applies to normal attacks,  skills, and genie skills. At near 0 slaying level, every additional slaying level adds about 1% more damage but slaying levels suffer some from diminishing returns.  At 60 slaying level (as found on G15 morai weapons) you only have +50% damage amplification.
:''Slaying Damage Amplification = 3 * Slaying Level / ( 300 + Slaying Level )''
:''damage dealt = raw damage dealt * ( 1 + Slaying Damage Amplification )''
Warding Levels are a PvE damage reduction that only applies to damage players take from mobs. Warding Levels are found mainly from on the new G12, G13, and G15 armor found in Morai.  The effectiveness of warding level damage reduction depends on the level of the mob.
:''Warding Damage Reduction = Warding Level / ( Enemy Level + Warding Level )''
:''damage received = raw damage received * ( 1 - Warding Damage Reduction )''
These are totally separate forms of amplification and reduction that multiply with all other forms of amplification and reduction.
For example if you get +40% damage from slaying level and +30% damage from attack level, in total you will have a combined effect of +82% damage since 1.4*1.3 = 1.82.
<br><br>




Note, that in game statistics menu reductions are shown as truncated numbers (39.7% reduction will be shown as 39% in menu). To receive exact results, you shouldn't omit fractions.  
== Spirit ==
Spirit is a new stat introduced in the New Horizons expansion. It is similar to both Attack Levels and Defense Levels but is more effective in PVP than in PVE. Spirit can be obtained from Soulprime/Lifeprime cards,  Soulprime/Lifeprime Nuema levels, and from gaining Vitae from the new Primal dailies.


&nbsp;* This needs to be confirmed
In PVP roughly 10 spirit is 1% more damage and 1% less damage taken. 


== Attack and Defense Levels ==
:''PVP Spirit Damage = (1,000 + Attacker Spirit) / (1,000 + Target Spirit)''
Attack and defense levels come from various skills, Jones' Blessing and other bless boxes, grade 12 gems, and powerful equipment.  The damage depends on the attacker's attack level and the target's defense level.
:''damage dealt = raw damage dealt * (PVP Spirit Damage Amplification)''
 
In PVE spirit is 4 times less effective so 40 spirit is 1% more damage and 1% less damage taken.  All mobs have 0 spirit.


if (attack level > defense level) then:
:''PVE Spirit Damage Amplification = (4,000 + Spirit) / 4,000''
:''PVE Spirit Damage Reduction = 4,000 / (4,000 + Spirit)''


:''damage taken = { damage delivered * ( 1 + ({ attack level } - { defense level }) / 100 ) }''
:''damage dealt = raw damage dealt * (PVE Spirit Damage Amplification)''
:''damage taken = raw damage taken * (PVE Spirit Damage Reduction)''


if (attack level < defense level) then:


:''damage taken = { damage delivered / ( 1 + (1.2 * ({ defense level } - { attack level }) / 100 ) ) }''
These are totally separate forms of amplification and reduction that multiply with all other forms of amplification and reduction.


Where {} means enter part or truncate the number; for example { 367.9 } = 367
<br><br>


== Evasion / Accuracy ==  
== Evasion / Accuracy ==  
Most physical attacks can be evaded, in which case they do 0 damage.  Magic attacks never miss.
Most physical attacks can be evaded, in which case they do 0 damage.  Magic attacks never miss but can be interrupted during channeling time.
 
:''evade% = ( target evasion - 1 ) / ( ( 2 * attacker accuracy ) + ( target evasion - 1 ) )''
 
:''hit% = 1 - evade%''
 
The evade equation is rounded up to the nearest 2 decimal places (remember 0.67 = 67%).  Thus you can only get a 100% hit% if the target's evasion = 1.
<br><br>
 
== Bramble Damage ==
 
The [[Status_Icon_Reference_Guide#Physical_Reflect|Physical Reflect]] buff ( [[Image:Physical Reflect buff.png]] ), better known as being "brambled", is normally endowed by the venomancer skill Bramble Guard.  It may also be given by the genie skill Alpha Male, the demon version of the barbarian skill Roar, or some mobs will buff themselves with it.
 
Attacking a brambled target with a melee physical attack causes the attacker to take bramble damage.  Bramble damage is a percentage of raw physical damage and can be thought of as a physical attack from the target to attacker.


:''evasion factor = 1000 * target evasion / attacker accuracy''
To calculate bramble damage you start with the physical attack of the attacker before factoring in crits, attack levels, or any kind of damage reduction.  For a simple unarmed punch, this attack is equal to the base damage in the character sheet.
Using just this damage, a new attack is generated from the target back at the attacker based as a percentage of that damage.


:''chance to evade = evasion factor / (40 * attacker level + evasion factor)''
For instance a physical attack of 1000 (before crit or any kind of damage reduction) will be reflected back as 600 physical damage by level 10 Bramble Guard (60% reflect damage).


or...
This attack is a physical attack which is treated as if it originated from the brambled target, thus increasing aggro. Like any attack from the brambled target, it uses the brambled target's Attack Level and is mitigated by the original attacker's Defense Level and physical defense using the above equations. This brambled attack has a chance to crit according to the brambled target's crit rate and not the original attacker's. The original attacker's Attack Level and chance to crit as well as the brambled target's Defense Level and physical defense has no effect on the reflected bramble damage.
<br><br>


:''chance to evade = 25 * target evasion / ( attacker accuracy * attacker level  + 25 * target evasion)''
== Heals ==
&nbsp; * this equation is unconfirmed


In some ways heals can be thought of as an attack that does negative damage, but there are significant differences.  Heals never appear in the damage log and never have a chance to critical hit.  The amount of healing done does not depend at all on Attack Level, Defense Level, Defense, Resistance, Slaying Level, or Warding Level.  Most healing skills found on caster classes depend only on base magic attack.  This means that the best magic weapon to use for heals is one that gives high attack, like rank 8 recast.  Physical classes tend to have healing skills that either heal a fixed amount or heal as a percentage of their maximum HP.  The only kind of heal that you can directly see is the healing done by the Bloodpaint buff, which is a percentage of melee damage dealt.
<br><br>


== Effective Health ==
== Effective Health ==


The amount of damage you must deliver to kill something or that something needs to kill you, winds up being health divided by the damage delivered percentage.  This simplifies to:
The amount of damage you must deliver to kill something or that something needs to kill you, winds up being health divided by the damage delivered percentage.  This simplifies to:
:''health / (1 - defense / (40 * attacker level + defense))''
:''health / ( 1 - ( defense / ( ( 40 * attacker level ) + defense ) ) ) )''


You should probably be thinking about what this number will be for you in various plausible situations when choosing between defense and health (for example, when comparing between two different shards that cost the same amount, or when choosing between two different belts).
You should probably be thinking about what this number will be for you in various plausible situations when choosing between defense and health (for example, when comparing between two different shards that cost the same amount, or when choosing between two different belts).




To choose between vit, citrine, and garnet shards you will have to make two calculations for every stat/shard combination:
To choose between Vit, citrine, and garnet shards you will have to make two calculations for every stat/shard combination:


:''Effective Health against Physical damage = HP / (1 - physical reduction) / (1 - bonus physical reduction from equipment )''
:''effective health against physical damage = HP / ( 1 - physical reduction ) / ( 1 - bonus physical reduction from equipment )''


:''Effective Health against Magical damage = HP / (1 - magical reduction)''
:''effective health against magical damage = HP / ( 1 - magical reduction )''


'Physical reduction' and 'magical reduction' is physical and magical resistance in decimal form. To calculate Effective Health for enemies with different levels, put 'physical defense / (40 * attacker level + physical defense)' in place of 'physical reduction' and 'magical defense / (40 * attacker level + magical defense )' in place of 'magical reduction' in formula.
'Physical reduction' and 'magical reduction' is physical and magical resistance in decimal form. To calculate effective health for enemies with different levels, put ' ''physical defense / ( ( 40 * attacker level ) + physical defense )'' ' in place of 'physical reduction' and ' ''magical defense / ( ( 40 * attacker level ) + magical defense )'' ' in place of 'magical reduction' in the above formulas.




To calculate Effective Health with consideration of attack and defense levels use one of the two following equation sets.
To calculate effective health with consideration of Attack and Defense Levels use one of the two following equation sets.


If enemy's attack level is higher than your defense level:
If enemy's Attack Level is ''higher'' than your Defense Level:


:''Effective Health against Physical damage = HP / (1 - physical reduction) / (1 - bonus physical reduction) / (1 + (attack level - defense level) / 100)''
:''effective health against physical damage = HP / ( 1 - physical reduction ) / ( 1 - bonus physical reduction ) / ( 1 + ( attack level - defense level ) / 100 )''


:''Effective Health against Magical damage = HP / (1 - magical reduction) / (1 + (attack level - D.level) / 100)''
:''effective health against magical damage = HP / ( 1 - magical reduction ) / ( 1 + ( attack level - defense level ) / 100 )''




If enemy's attack level is lower than your defense level (and for PvE where attack level = 0):
If enemy's Attack Level is ''lower'' than your Defense Level (and for PvE where the enemy's Attack Level = 0):


:''Effective Health against Physical damage = HP * (1 + (1.2 * (defense level - attack level) / 100)) / (1 - physical reduction) / (1 - bonus physical reduction)''
:''effective health against physical damage = HP * ( 1 + ( 1.2 * ( defense level - attack level ) / 100 ) ) / ( 1 - physical reduction ) / ( 1 - bonus physical reduction )''


:''Effective Health against Magical damage = HP * (1 + (1.2 * (defense level - attack level) / 100)) / (1 - magical reduction)''
:''effective health against magical damage = HP * ( 1 + ( 1.2 * ( defense level - attack level ) / 100 ) ) / ( 1 - magical reduction )''

Latest revision as of 17:31, 3 February 2014

There are many factors which affect how much damage is dealt by the various attacks available to players, and this page will explain all of them as specifically as possible.

Warning this page contains formulas!

Damage Range[edit]

Most attacks in the game do not deal simple fixed values but can deal damage over a range of values that comes from the base damage range. The formulas on this page can be applied to the average damage of the range to find an average result or it can be applied individually to both the minimum and maximum damage values to find the true range of the damage. The average damage is more meaningful when looking at your average DPS (damage per second) but having a high maximum damage can be desirable in PvP situations where high spike damage is difficult to defend against.

Actual damage will be a value randomly picked between the minimum value and the maximum value of the damage range. This applies to the physical damage range for physical attacks or the magical damage range for magical attacks. The only equipment that contributes a range of damage is the weapon which has a base range and equipment with the stats "+Maximum Physical Attack" or "+Maximum Magical Attack" which only add to the maximum of their respective ranges.

Base Damage[edit]

Base damage is the physical \ magical attack shown in your character info ingame. For physical attacks, the base damage is equal to the damage you deal with a normal attack of your weapon.

base damage = attack multiplier * weapon attack


Weapon Attack[edit]

Weapon attack in general is how much your weapon contributes to your damage. This is basically the sum of all the physical \ magical attack attribute on player's gear and level.

weapon attack = attack from weapon + attack from shards in weapon + attack from rings and other equipment + character level

Don't forget about the +attack or +max attack adds on the weapon.

Weapon attack can also be gained from attack charms. Ammo contributes to the weapon attack for ranged weapons. Other than character level all other factors of weapon attack are found from equipment. Weapon attack can be increased by refining or sharding damage shard (garnet or sapphire) to weapons.

Attack Multiplier[edit]

The attack multiplier comes from how your stats, masteries, and buffs contribute to your base damage.

Daggers and ranged weapons:

attack multiplier = 1 + ( Dex / 150 ) + weapon mastery + physical attack buffs

Melee weapons:

attack multiplier = 1 + ( Str / 150 ) + weapon mastery + physical attack buffs

Magic weapons:

attack multiplier = 1 + ( Mag / 100 ) + magical attack buffs

Where ( Dex / 150 ) and ( Str / 150 ) are rounded to 2 decimal places. ( Ex. 1 + ( 100 / 150 ) + 0 + 0 = 1.67 )

Example:
For an archer with 450 Dex and level 10 bow mastery
attack multiplier = 1 + ( 450 / 150 ) + 0.6 = 4.6

This means his base damage is 4.6 times his weapon attack.

Comparison of sources of physical attack multiplier:

Level 10 bow mastery adds 60% (+0.6 to attack multiplier) weapon attack
Level 10 Strength of Titans attack buff adds 30% (+0.3 to attack multiplier) weapon attack
Level 10 take aim adds 300% (+3.0 to attack multiplier) weapon attack
Level 3 True Form removes 50% (-0.5 to attack multiplier) weapon attack
150 Str or Dex adds 100% weapon attack
Spark Eruption adds 150% weapon attack
Advanced Spark Eruption adds 300% - 400% attack
Demon / Sage Spark Eruption adds 500% attack
Gloom weapon proc adds 100% attack as does Unrelenting


Elemental damage such as from buffed skill (Frostblade, Blazing Arrow, Poison Fang, Condensed Thorn... etc.) or elemental damage shard on weapon does not get multiplied by attack multiplier *please confirm*

Attacks Per Second[edit]

Attacks per second (APS) is a measure of your attack rate when using normal attacks and depends largely on your weapon and gear. In many ways it is easier to consider the attack interval instead which is the inverse of your attack rate.

APS = 1 / attack interval
attack interval = 1 / APS

Attack intervals are always multiples of 0.05 seconds as that is the smallest unit of time the game uses.

An assassin's dagger normally has a rate of 1.25 attacks/second, meaning that each attack is .8 seconds long, or that it has an interval of .8 seconds.

There are two ways that we can increase this attack rate: -interval gear, and skills to increase your attack rate by a percentage.

In the case of gear, once we have determined the attack interval, we simply subtract the gear value from it.

base attack interval = base attack interval for weapon type - attack interval from gear

Going back to assassin's daggers, the TT80 Hook and Thorns have the interval -.05 stat on them, meaning that their interval is .75 instead of .8. This gives them an attack rate of:

1 / .75 = 1.33

The second way to increase your attack rate is through the use of skill such as Demon Spark or Heaven's Wrath. In this case, we need to multiply the interval we have by the new percentage of the attack rate:

new attack interval = base attack interval * ( 1 - attack speed increase % )

If our Hook and Thorn wielding sin used Demon Spark (25% increase), his new attack interval would be:

.75 * ( 1 - .25 ) = .5625

Since the new attack interval is not evenly divisible by .05, we need to round down to the nearest interval. In this case, we get .55.

Translating this back to attack rate, we get:

1 / .55 = 1.82 attacks/second

Skill Damage[edit]

Most skills are of the form:

skill damage = base damage + skill weapon attack multiplier * weapon attack + constant damage

You can simplify this to:

skill damage = ( ( base weapon attack multiplier + skill weapon attack multiplier ) * weapon attack ) + constant damage


Amplifying Damage[edit]

There are several skills that can amplify the damage you do as well as magical mastery. Sources of damage amplification are multiplied together.

skill damage dealt = skill damage * product( 1 + amplification from each debuff )

"Product", meaning the all 1+amplifications in the parentheses multiplied together. For example, a 30% amplification from sage Amplify Damage when combined with a 20% amplification from Extreme Poison will give 56% total amplification since (1.3) * (1.2) = 1.56 (which is the product, in this case).

Comparison of sources of amplify damage:

20% more damage from Extreme Poison
100% more damage from Heaven's Flame
20% more damage from level 10 veno Amplify Damage
20% from level 10 magic masteries


Critical Hit[edit]

A crit is an attack that does more damage than a normal attack. This damage is given as the rage damage multiplier in your char sheet and is 200% for all classes but Assassins who have a skill to get 230% rage damage. Your chance to crit is given in your character sheet and come from equipment, crit buffs, the Rainbow Blessing (cleric-only genie skill) buff, and Dex.

chance to crit = 1 + ( Dex / 20 ) + crit from equipment + crit from buffs

Where ( Dex / 20 ) is rounded down.

crit damage = rage damage * damage inflicted


Damage Reductions[edit]

There are several sources of damage reductions.

PvP Damage Reduction[edit]

In PvP all damage is reduced by 75% (corresponding to a damage multiplier of 25%). This does not apply to some attacks from venomancer pets.

Terrain-Based Damage Reduction[edit]

In PWI combat can occur on land, in water, and in the air. If both the attacker and target are in the same terrain then the target will take full damage. If they are on different terrain then there may be a 50% damage reduction. This damage reduction applies to both melee and ranged attacks but does not apply to mobs, venomancer/mystic pets, or Damage Over Time (DOT) effects.

Target Air Land Water
Attacker Air 100% 50% 50%
Land 100% 100% 50%
Water 50% 50% 100%


Level Difference Damage Reduction[edit]

If the target is a higher level than the attacker then a level difference damage reduction may apply. This damage reduction is ignored by venomancer / mystic pets which makes those particularly effective fighting against ?-level mobs (which count as level 150).

Target Level minus
Attacker Level
Damage
Multiplier
< 3 100%
3 - 5 90%
6 - 8 80%
9 - 11 70%
12 - 15 60%
16 - 20 50%
> 20 25%


Skill-Based Damage Reduction[edit]

A number of skills provide the Bless buff and similar buffs which reduce damage. These skills do not apply to damage done from damage over time (DOT) effects.

Some examples of skill-based damage reduction:

Blue bubble (50% reduction)
Invoke (90% reduction)
Sage spark (25% reduction)
Wings of grace (30% reduction)
Guardian light (60% reduction)
Bramble hood (75% reduction)


Ranged Weapon Damage Reduction[edit]

This damage reduction in particular affects archers, but actually applies to any attacker using a bow. Ranged weapons have a 50% damage reduction if the target is closer than the minimum effective range of the weapon.

Weapon Type Minimum
Effective Range
Crossbow 5.5m
Bow 5m
Slingshot 4.5m

Most archer skills suffer from this range reduction. The ones that have no minimum effective range are Winged Pledge, Wingspan, and the metal-dealing skills.

High APS Damage Reduction[edit]

When the attack rate of your character is either 4.0 or 5.0 attacks per second, damage done by normal attacks is reduced by 5%. This damage reduction was added in the Descent expansion and does not otherwise show up in your character info window. There is also an unconfirmed 20% loss of accuracy with 4.0 and 5.0 attack rates.

Resistance[edit]

Physical Resistance is based on your Str, Vit, and equipment defense (the sum of the Physical Defense found on all of your equipment). Similarly Magical Resistances are based on your Mag, Vit, and equipment Magical Resistances. Magical Resistances should be calculated separately for each of the 5 magical elements, but most equipment has the same resistance across all the elements.

physical defense = Round{ ( Vit + Str - 2 ) / 4 } + Round{ Def * ( 1 + Round{ ( ( 2 * Vit ) + ( 3 * Str ) ) / 25 } / 100 ) } + 1
magic resistance = Round{ ( Vit + Mag - 2 ) / 4 } + Round{ Res * ( 1 + Round{ ( ( 2 * Vit ) + ( 3 * Mag ) ) / 25 } / 100 ) }

Defense and resistance work by lowering damage according to the following formula. (Values within "Round{ x }" are rounded to the nearest integer.)

physical reduction% = physical defense / ( ( 40 * attacker level ) + physical defense - 25 )
magical reduction% = magic resistance / ( ( 40 * attacker level ) + magical resistance - 25 )

The reduction is rounded down to two decimal places.

damage delivered = damage dealt * ( 1 - reduction% )

The above reduction percentages are shown in the character sheet when hovering over the stat. If equipment adds a physical damage reduction stat it does not contribute to this reduction%. This is a separate reduction that applies in a different step from the above.

physical damage delivered = damage dealt * ( 1 - defense reduction% ) * ( 1 - total physical damage reduction from equipment% )

Note that in-game statistics menu reductions are shown as truncated numbers (39.7% reduction will be shown as 39% in menu). To receive exact results, you shouldn't omit fractions.

Attack and Defense Levels[edit]

Attack and Defense Levels come from various skills, Jones' Blessing and other bless boxes, grade 12 gems, and powerful equipment. The damage depends on the attacker's Attack Level and the target's Defense Level. For PVE, all mobs have a base of 0 attack level and 0 defense level but these can be modified with buffs and debuffs. Before the Sirens of War expansion attack and defense levels did not apply to Damage Over Time (DOT) effects but now they do.

if ( attack level > defense level ) then:

damage taken = damage delivered * ( 1 + ( attack level - defense level ) / 100 )

if ( attack level < defense level ) then:

damage taken = damage delivered / ( 1 + ( 1.2 * ( defense level - attack level ) / 100 ) )

Damage results are rounded down. For example, a damage result of 367.9 becomes 367.

Slaying Levels and Warding Levels[edit]

Slaying and Warding Levels come from new gear found in the Descent expansion. They are similar to Attack Levels / Defense Levels but only apply to PvE damage dealt / received.

Slaying Levels are a PvE-only damage amplification that only applies to damage dealt to mobs. It applies to normal attacks, skills, and genie skills. At near 0 slaying level, every additional slaying level adds about 1% more damage but slaying levels suffer some from diminishing returns. At 60 slaying level (as found on G15 morai weapons) you only have +50% damage amplification.

Slaying Damage Amplification = 3 * Slaying Level / ( 300 + Slaying Level )
damage dealt = raw damage dealt * ( 1 + Slaying Damage Amplification )

Warding Levels are a PvE damage reduction that only applies to damage players take from mobs. Warding Levels are found mainly from on the new G12, G13, and G15 armor found in Morai. The effectiveness of warding level damage reduction depends on the level of the mob.

Warding Damage Reduction = Warding Level / ( Enemy Level + Warding Level )
damage received = raw damage received * ( 1 - Warding Damage Reduction )

These are totally separate forms of amplification and reduction that multiply with all other forms of amplification and reduction.

For example if you get +40% damage from slaying level and +30% damage from attack level, in total you will have a combined effect of +82% damage since 1.4*1.3 = 1.82.


Spirit[edit]

Spirit is a new stat introduced in the New Horizons expansion. It is similar to both Attack Levels and Defense Levels but is more effective in PVP than in PVE. Spirit can be obtained from Soulprime/Lifeprime cards, Soulprime/Lifeprime Nuema levels, and from gaining Vitae from the new Primal dailies.

In PVP roughly 10 spirit is 1% more damage and 1% less damage taken.

PVP Spirit Damage = (1,000 + Attacker Spirit) / (1,000 + Target Spirit)
damage dealt = raw damage dealt * (PVP Spirit Damage Amplification)

In PVE spirit is 4 times less effective so 40 spirit is 1% more damage and 1% less damage taken. All mobs have 0 spirit.

PVE Spirit Damage Amplification = (4,000 + Spirit) / 4,000
PVE Spirit Damage Reduction = 4,000 / (4,000 + Spirit)
damage dealt = raw damage dealt * (PVE Spirit Damage Amplification)
damage taken = raw damage taken * (PVE Spirit Damage Reduction)


These are totally separate forms of amplification and reduction that multiply with all other forms of amplification and reduction.



Evasion / Accuracy[edit]

Most physical attacks can be evaded, in which case they do 0 damage. Magic attacks never miss but can be interrupted during channeling time.

evade% = ( target evasion - 1 ) / ( ( 2 * attacker accuracy ) + ( target evasion - 1 ) )
hit% = 1 - evade%

The evade equation is rounded up to the nearest 2 decimal places (remember 0.67 = 67%). Thus you can only get a 100% hit% if the target's evasion = 1.

Bramble Damage[edit]

The Physical Reflect buff ( ), better known as being "brambled", is normally endowed by the venomancer skill Bramble Guard. It may also be given by the genie skill Alpha Male, the demon version of the barbarian skill Roar, or some mobs will buff themselves with it.

Attacking a brambled target with a melee physical attack causes the attacker to take bramble damage. Bramble damage is a percentage of raw physical damage and can be thought of as a physical attack from the target to attacker.

To calculate bramble damage you start with the physical attack of the attacker before factoring in crits, attack levels, or any kind of damage reduction. For a simple unarmed punch, this attack is equal to the base damage in the character sheet. Using just this damage, a new attack is generated from the target back at the attacker based as a percentage of that damage.

For instance a physical attack of 1000 (before crit or any kind of damage reduction) will be reflected back as 600 physical damage by level 10 Bramble Guard (60% reflect damage).

This attack is a physical attack which is treated as if it originated from the brambled target, thus increasing aggro. Like any attack from the brambled target, it uses the brambled target's Attack Level and is mitigated by the original attacker's Defense Level and physical defense using the above equations. This brambled attack has a chance to crit according to the brambled target's crit rate and not the original attacker's. The original attacker's Attack Level and chance to crit as well as the brambled target's Defense Level and physical defense has no effect on the reflected bramble damage.

Heals[edit]

In some ways heals can be thought of as an attack that does negative damage, but there are significant differences. Heals never appear in the damage log and never have a chance to critical hit. The amount of healing done does not depend at all on Attack Level, Defense Level, Defense, Resistance, Slaying Level, or Warding Level. Most healing skills found on caster classes depend only on base magic attack. This means that the best magic weapon to use for heals is one that gives high attack, like rank 8 recast. Physical classes tend to have healing skills that either heal a fixed amount or heal as a percentage of their maximum HP. The only kind of heal that you can directly see is the healing done by the Bloodpaint buff, which is a percentage of melee damage dealt.

Effective Health[edit]

The amount of damage you must deliver to kill something or that something needs to kill you, winds up being health divided by the damage delivered percentage. This simplifies to:

health / ( 1 - ( defense / ( ( 40 * attacker level ) + defense ) ) ) )

You should probably be thinking about what this number will be for you in various plausible situations when choosing between defense and health (for example, when comparing between two different shards that cost the same amount, or when choosing between two different belts).


To choose between Vit, citrine, and garnet shards you will have to make two calculations for every stat/shard combination:

effective health against physical damage = HP / ( 1 - physical reduction ) / ( 1 - bonus physical reduction from equipment )
effective health against magical damage = HP / ( 1 - magical reduction )

'Physical reduction' and 'magical reduction' is physical and magical resistance in decimal form. To calculate effective health for enemies with different levels, put ' physical defense / ( ( 40 * attacker level ) + physical defense ) ' in place of 'physical reduction' and ' magical defense / ( ( 40 * attacker level ) + magical defense ) ' in place of 'magical reduction' in the above formulas.


To calculate effective health with consideration of Attack and Defense Levels use one of the two following equation sets.

If enemy's Attack Level is higher than your Defense Level:

effective health against physical damage = HP / ( 1 - physical reduction ) / ( 1 - bonus physical reduction ) / ( 1 + ( attack level - defense level ) / 100 )
effective health against magical damage = HP / ( 1 - magical reduction ) / ( 1 + ( attack level - defense level ) / 100 )


If enemy's Attack Level is lower than your Defense Level (and for PvE where the enemy's Attack Level = 0):

effective health against physical damage = HP * ( 1 + ( 1.2 * ( defense level - attack level ) / 100 ) ) / ( 1 - physical reduction ) / ( 1 - bonus physical reduction )
effective health against magical damage = HP * ( 1 + ( 1.2 * ( defense level - attack level ) / 100 ) ) / ( 1 - magical reduction )