Difference between revisions of "Portal:New Genesis/Damage Calculation"

From Arks-Visiphone
Jump to navigation Jump to search
m
m
Line 30: Line 30:
 
<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 - 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 95: Line 95:
 
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=
 +
 +
==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:
 +
 +
<div class="table-responsive">
 +
{| class="table table-bordered darkmode-text-white"
 +
! Title
 +
! Damage done
 +
! Damage received
 +
|-
 +
| Silver
 +
| -
 +
| -
 +
|-
 +
| Golden
 +
| -
 +
| -
 +
|-
 +
| Veteran
 +
| +30%
 +
| -
 +
|-
 +
| Malevolent
 +
| +150%
 +
| -50%
 +
|}
 +
</div>
 +
 +
===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. <!-- TODO: list them here or list them with enemies? -->
 +
 +
===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.
 +
 +
<div class="table-responsive">
 +
{| class="table table-bordered darkmode-text-white"
 +
! Enemy
 +
<!--! TODO: Range-->
 +
! Duration (max)
 +
! Damage done
 +
! Damage received
 +
! Stacks
 +
|-
 +
| Grulf Lore
 +
| 30s (30s)
 +
| +5%
 +
| -5%
 +
| 5 times
 +
|-
 +
| Phongrulf Lore
 +
| 30s (30s)
 +
| +5%
 +
| -5%
 +
| 5 times
 +
|-
 +
| Eldi Scythe
 +
| 30s (30s)
 +
| +25%
 +
| -5%
 +
| 2 times
 +
|-
 +
| Chiacurio
 +
| ?
 +
| ?
 +
| ?
 +
| ?
 +
|}
 +
</div>
  
 
==Level Difference Modifiers==
 
==Level Difference Modifiers==
Line 114: Line 222:
 
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.</s><br>
 
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.</s><br>
 
'''Due to an update on July 14, 2021, the damage reduction will now result in 1 damage being dealt to any higher leveled enemies that are 5 levels and greater.'''
 
'''Due to an update on July 14, 2021, the damage reduction will now result in 1 damage being dealt to any higher leveled enemies that are 5 levels and greater.'''
<!--===Enemy Damage Modifier based on Level Difference===-->
+
===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.
 
==Weak Point Damage (Blue Damage)==
 
==Weak Point Damage (Blue Damage)==
  

Revision as of 23:04, 15 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 - 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.
  • Damage Multipliers: Final damage multipliers applied from various sources. See 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 Augments 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 - EnemyDEF ) * Damage Multipliers * 0.2

Maximum Player Damage = ( WeaponATK + PlayerATK - 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 potency 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
    • Blight Rounds: 1.2
    • Reinforced Blight Rounds: 1.25
  • Class Skills
  • Weapon Potentials
  • Preset Skills
  • Augments
  • Unit stats
  • Food buffs
  • Region Mag 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

Expanded form:

Critical Damage = ( WeaponATK + PlayerATK - 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 Machine Guns 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 - -
Veteran +30% -
Malevolent +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
Grulf Lore 30s (30s) +5% -5% 5 times
Phongrulf Lore 30s (30s) +5% -5% 5 times
Eldi Scythe 30s (30s) +25% -5% 2 times
Chiacurio ? ? ? ?

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.
Due to an update on July 14, 2021, the damage reduction will now result in 1 damage being dealt to any higher leveled enemies that are 5 levels and greater.

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 Core
  • Blight Rounds
  • Reinforced Blight Rounds

See Also