Main Page

Difference between revisions of "Damage Formula (NGS)"

From Arks-Visiphone
Jump to navigation Jump to search
m (Edit column names)
(Add enemy damage)
Line 7: Line 7:
 
Player damage can be described with the following formula:
 
Player damage can be described with the following formula:
  
<p class="lead text-center">Player Damage = ( WeaponATK * Variance + PlayerATK - EnemyDEF ) * Damage Multipliers * 0.2</p>
+
<p class="lead text-center">Player Damage = ( WeaponATK * Variance + PlayerATK - FLOOR(EnemyDEF) ) * Damage Multipliers * 0.2</p>
  
 
* '''WeaponATK''': The attack value of the weapon equipped as shown on item details.
 
* '''WeaponATK''': The attack value of the weapon equipped as shown on item details.
 
* '''Variance''': The range in which WeaponATK is scaled. This is shown on page 2 of item details. See [[#Weapon Variance|Weapon Variance]].
 
* '''Variance''': The range in which WeaponATK is scaled. This is shown on page 2 of item details. See [[#Weapon Variance|Weapon Variance]].
 
* '''PlayerATK''': The attack value shown in stats window with no equipments.
 
* '''PlayerATK''': The attack value shown in stats window with no equipments.
* '''EnemyDEF''': The internal defense value of the enemy. Scales with enemy level.
+
* '''EnemyDEF''': The internal defense value of the enemy. Scales with enemy level. This value is floored when used.
* '''Damage Multipliers''': Final damage multipliers applied from various sources. See [[#Damage Multipliers|Damage Multipliers]].
+
* '''Damage Multipliers''': Final damage multipliers applied from various sources. See [[#Player Damage Multipliers|Player Damage Multipliers]].
  
 
The resulting damage from the calculation is rounded to the nearest integer.
 
The resulting damage from the calculation is rounded to the nearest integer.
Line 26: Line 26:
 
With knowledge on variance, we can derive the minimum/maximum player damage from the initial damage formula:
 
With knowledge on variance, we can derive the minimum/maximum player damage from the initial damage formula:
  
<p class="lead text-center">Minimum Player Damage = ( WeaponATK * Minimum Variance + PlayerATK - EnemyDEF ) * Damage Multipliers * 0.2</p>
+
<p class="lead text-center">Minimum Player Damage = ( WeaponATK * Minimum Variance + PlayerATK - FLOOR(EnemyDEF) ) * Damage Multipliers * 0.2</p>
  
<p class="lead text-center">Maximum Player Damage = ( WeaponATK + PlayerATK - EnemyDEF ) * Damage Multipliers * 0.2</p>
+
<p class="lead text-center">Maximum Player Damage = ( WeaponATK + PlayerATK - FLOOR(EnemyDEF) ) * Damage Multipliers * 0.2</p>
  
===Damage Multipliers===
+
===Player Damage Multipliers===
  
 
There are many damage multipliers modifying the resulting damage done. These multipliers stack multiplicatively. Some common sources of damage multipliers are:
 
There are many damage multipliers modifying the resulting damage done. These multipliers stack multiplicatively. Some common sources of damage multipliers are:
Line 60: Line 60:
 
or in expanded form:
 
or in expanded form:
  
<p class="lead text-center">Critical Damage = ( WeaponATK + PlayerATK - EnemyDEF ) * Damage Multipliers * 0.2 * 1.2</p>
+
<p class="lead text-center">Critical Damage = ( WeaponATK + PlayerATK - FLOOR(EnemyDEF) ) * Damage Multipliers * 0.2 * 1.2</p>
  
 
Where 1.2 is the critical multiplier.
 
Where 1.2 is the critical multiplier.
Line 96: Line 96:
 
Note: Actual distance for each range differs for each weapon type.
 
Note: Actual distance for each range differs for each weapon type.
  
<!--=Enemy Damage=
+
=Enemy Damage=
  
 
The following sections discuss enemy damage, i.e., damage done to the player.
 
The following sections discuss enemy damage, i.e., damage done to the player.
-->
+
 
 +
==Damage Formula==
 +
 
 +
Enemy damage formula is quite similar to player damage:
 +
 
 +
<p class="lead text-center">Enemy Damage = ( FLOOR(EnemyATK * EnemyATK Modifer) * Variance - PlayerDEF ) * Damage Multipliers * 0.2</p>
 +
 
 +
* '''EnemyATK''': The internal attack value of the enemy. Scales with enemy level.
 +
* '''EnemyATK Modifier''': Each enemy has a set modifier used to multiply the base attack value. The resulting attack value is then floored. Modifier values found so far range around 0.99 - 1.03.
 +
* '''Variance''': The range in which attack is scaled. Enemy damage has a set variance range of 96% - 100%.
 +
* '''PlayerDEF''': The defense value shown in stats window.
 +
* '''Damage Multipliers''': Final damage multipliers applied from various sources. See [[#Enemy Damage Multipliers|Enemy Damage Multipliers]].
 +
 
 +
The resulting damage from the calculation is rounded to the nearest integer.
 +
 
 +
===Enemy Damage Multipliers===
 +
 
 +
There are many damage multipliers modifying enemy damage. These multipliers stack multiplicatively. Some common sources of damage multipliers are:
 +
 
 +
* '''Attack Notation''': The damage modifier of the attack used. All values found so far seem to be multiples of 50 (e.g., 100%, 150%, 200%, 250%).
 +
* '''Player Damage Reduction''': Damage reduction (or negative reduction which increases damage instead) the player has. Common sources known are:
 +
** '''Class Skills'''
 +
** '''Weapon Potentials'''
 +
** '''Preset Abilities'''
 +
** '''Special Abilities'''
 +
** '''Unit stats'''
 +
** '''Food buffs'''
 +
* '''Enhancer''': An enhanced enemy has 1.5 damage multiplier until Enhancer is destroyed. (Unconfirmed on how it stacks with other enemy buffs).
 +
* '''Enemy buffs''': See [[#Enemy Buffs|Enemy Buffs]].
 +
* '''Level Difference Modifier''': Damage increase from level difference above player. See [[#Level Difference Modifiers|Level Difference Modifiers]].
  
 
=Appendix=
 
=Appendix=
Line 192: Line 221:
 
<p class="lead text-center">Damage Reduction = (Level Difference - 1) * 10%</p>
 
<p class="lead text-center">Damage Reduction = (Level Difference - 1) * 10%</p>
  
For example, against an enemy at level 15, level 10 players' damage will be reduced by 40%, level 7 players' damage reduced by 70%, while level 11 and above players do not get their damage reduced.
+
For example, against an enemy at level 15, level 10 players' damage will be reduced by 40%, level 7 players' damage reduced by 70%, while level 11 and above players do not get their damage reduced. This modifier seems to have a maximum value of 90% damage reduction.
 +
 
 +
===Enemy Damage Modifier based on Level Difference===
 +
 
 +
When the enemy level is higher than the player's Main Class level, enemy damage done to the player is increased. The damage increase can be calculated with the following formula:
 +
 
 +
<p class="lead text-center">Damage Increase = (Level Difference) * 20%</p>
 +
 
 +
For example, against an enemy at level 15, level 10 player will receive 100% increased damage, level 12 player will receive 60% increased damage, while level 15 player will receive the normal amount of damage.  This modifier has a maximum value of 100% damage increase.
  
<!--===Enemy Damage Modifier based on Level Difference===-->
 
 
==Weak Point Damage (Blue Damage)==
 
==Weak Point Damage (Blue Damage)==
  

Revision as of 17:13, 11 July 2021

Player Damage

The following sections discuss player damage, i.e., damage done by the player.

Damage Formula

Player damage can be described with the following formula:

Player Damage = ( WeaponATK * Variance + PlayerATK - FLOOR(EnemyDEF) ) * Damage Multipliers * 0.2

  • WeaponATK: The attack value of the weapon equipped as shown on item details.
  • Variance: The range in which WeaponATK is scaled. This is shown on page 2 of item details. See Weapon Variance.
  • PlayerATK: The attack value shown in stats window with no equipments.
  • EnemyDEF: The internal defense value of the enemy. Scales with enemy level. This value is floored when used.
  • Damage Multipliers: Final damage multipliers applied from various sources. See Player Damage Multipliers.

The resulting damage from the calculation is rounded to the nearest integer.

Weapon Variance

The variance range of a weapon is shown on page 2 of item details. A value is selected at random from this range to be used as the variance multiplier in the damage formula. For example, if a weapon has 70% - 100% variance range. A value between 0.7 and 1.0 is randomly selected and used to scale the weapon's attack value in damage calculation. The probability to get each value in the range seems to be the same, i.e., variance is uniformly distributed.

Increasing the variance floor via external sources like Abilities adds a multiplier to the variance floor in calculation. For example, if a weapon has 70% - 100% variance range, having 1% increased variance floor gives us a range of 70 * 1.01 = 70.7% - 100%. Variance floor increase stacks multiplicatively.

With knowledge on variance, we can derive the minimum/maximum player damage from the initial damage formula:

Minimum Player Damage = ( WeaponATK * Minimum Variance + PlayerATK - FLOOR(EnemyDEF) ) * Damage Multipliers * 0.2

Maximum Player Damage = ( WeaponATK + PlayerATK - FLOOR(EnemyDEF) ) * Damage Multipliers * 0.2

Player Damage Multipliers

There are many damage multipliers modifying the resulting damage done. These multipliers stack multiplicatively. Some common sources of damage multipliers are:

  • PA/Tech Notation: The damage modifier of the attack used. This is usually shown in-game as a percentage value for Photon Arts and Techniques, but actual testing is required to determine the distribution of damage notation for each hit of those attacks. Other attacks in-game can also be tested in a similar fashion. For example, Barta has 250 power shown in its in-game description, but testing revealed that it does 150% damage uncharged, and 250% damage when charged (used as 1.5 and 2.5 multiplier in calculation respectively).
  • Part Boost: Damage multiplier depending on the part of the target enemy where the attack lands. Common values known are:
    • Elemental Weakness: 1.2 (Note: this only affects elemental attacks, e.g., Techniques.)
    • Weak Point: 1.5
    • Enhancer: 1.2
    • Weak Bullet: 1.2
    • Reinforced Weak Bullet: 1.25
  • Class Skills
  • Weapon Potentials
  • Preset Abilities
  • Special Abilities
  • Unit stats
  • Food buffs
  • Region Mag buffs
  • Enemy buffs: See Enemy Buffs.
  • Level Difference Modifier: Damage reduction from level difference below enemy. See Level Difference Modifiers.
  • Optimal Range Multiplier: Damage multipliers depending on the distance between the player and where the attack lands. Only affects certain weapons. See Optimal Range.

Critical Damage

Critical damage is shown with a larger font in-game (not to be confused with weak point damage which is shown in blue, see Weak Point Damage (Blue Damage)). Critical damage is 120% of maximum player damage, as shown with the following formula:

Critical Damage = Maximum Player Damage * 1.2

or in expanded form:

Critical Damage = ( WeaponATK + PlayerATK - FLOOR(EnemyDEF) ) * Damage Multipliers * 0.2 * 1.2

Where 1.2 is the critical multiplier.

The default critical rate is approximated to be 5%. This can be increased (likely additively) via other sources like Potentials and Abilities.

Optimal Range

Optimal Range (適正距離) is a term used to describe the mechanics of certain weapon types having increased damage depending on the distance from the player to where the attack lands. Each range gives a specific damage multiplier to most attacks. The range giving the highest damage multiplier (AKA the Optimal Range) is indicated by the target marker turning orange in-game.

Weapon Close Range Mid Range Far Range
Wired Lance 1.0 1.2 1.0
Rifle 1.1 1.2 1.0
Twin Machinegun 1.2 1.1 1.0

Note: Actual distance for each range differs for each weapon type.

Enemy Damage

The following sections discuss enemy damage, i.e., damage done to the player.

Damage Formula

Enemy damage formula is quite similar to player damage:

Enemy Damage = ( FLOOR(EnemyATK * EnemyATK Modifer) * Variance - PlayerDEF ) * Damage Multipliers * 0.2

  • EnemyATK: The internal attack value of the enemy. Scales with enemy level.
  • EnemyATK Modifier: Each enemy has a set modifier used to multiply the base attack value. The resulting attack value is then floored. Modifier values found so far range around 0.99 - 1.03.
  • Variance: The range in which attack is scaled. Enemy damage has a set variance range of 96% - 100%.
  • PlayerDEF: The defense value shown in stats window.
  • Damage Multipliers: Final damage multipliers applied from various sources. See Enemy Damage Multipliers.

The resulting damage from the calculation is rounded to the nearest integer.

Enemy Damage Multipliers

There are many damage multipliers modifying enemy damage. These multipliers stack multiplicatively. Some common sources of damage multipliers are:

  • Attack Notation: The damage modifier of the attack used. All values found so far seem to be multiples of 50 (e.g., 100%, 150%, 200%, 250%).
  • Player Damage Reduction: Damage reduction (or negative reduction which increases damage instead) the player has. Common sources known are:
    • Class Skills
    • Weapon Potentials
    • Preset Abilities
    • Special Abilities
    • Unit stats
    • Food buffs
  • Enhancer: An enhanced enemy has 1.5 damage multiplier until Enhancer is destroyed. (Unconfirmed on how it stacks with other enemy buffs).
  • Enemy buffs: See Enemy Buffs.
  • Level Difference Modifier: Damage increase from level difference above player. See Level Difference Modifiers.

Appendix

Enemy Buffs

There are several sources of buffs modifying an enemy's damage done and received. These modifiers stack additively.

Title Buffs

Enemies with title included in their names receive the following damage modifiers:

Title Damage done Damage received
Silver
白銀の
- -
Golden
金色の
- -
Battle-Hardened
老練の
+30% -
Despair
絶望の
+150% -50%

Weather Buffs

Weather buff is indicated in-game by a small icon next to enemy name when targeted. This buff gives certain enemies +20% damage done during specific weather conditions.

Daynight Shift

Alters enemies change their appearances significantly during night time. This is called "Daynight Shift" which also gives them +30% damage done in their night forms.

Shifta/Deband

Some enemies can cast Shifta/Deband, affecting themselves and/or other nearby enemies. The buff has been found to stack additively up to a set number of times. The following table lists all enemies capable of casting Shifta/Deband known so far and their buff properties.

Enemy Duration (max) Damage done Damage received Stacks
Gulf Roar 30s (30s) +5% -5% 5 times
Fangulf Roar 30s (30s) +5% -5% 5 times
El Discythe 30s (30s) +25% -5% 2 times
Ciacurio ? ? ? ?

Level Difference Modifiers

Both player damage and enemy damage are modified when the player's level is lower than the enemy's.

Player Damage Modifier based on Level Difference

When the enemy level is higher than the player's Main Class level by 5 levels or more, player damage done to the enemy is reduced. The damage reduction can be calculated with the following formula:

Damage Reduction = (Level Difference - 1) * 10%

For example, against an enemy at level 15, level 10 players' damage will be reduced by 40%, level 7 players' damage reduced by 70%, while level 11 and above players do not get their damage reduced. This modifier seems to have a maximum value of 90% damage reduction.

Enemy Damage Modifier based on Level Difference

When the enemy level is higher than the player's Main Class level, enemy damage done to the player is increased. The damage increase can be calculated with the following formula:

Damage Increase = (Level Difference) * 20%

For example, against an enemy at level 15, level 10 player will receive 100% increased damage, level 12 player will receive 60% increased damage, while level 15 player will receive the normal amount of damage. This modifier has a maximum value of 100% damage increase.

Weak Point Damage (Blue Damage)

When an attack lands on a weak point, the damage number is shown in blue in-game. The following are known sources of blue damage numbers:

  • Natural weak points on enemies
  • Enhancer
  • Weak Bullet
  • Reinforced Weak Bullet

See Also