Combat Calculations

From Last Epoch Wiki
Jump to: navigation, search

Combat Calculations are used to determine the damage effects of Statuses and Skills while fighting.

Skill Use[edit | edit source]

Spell Skills, Melee Attack Skills, and Throwing Attack Skills are affected by Cast Speed, Melee Attack Speed, and Throwing Attack Speed respectively which increase the rate at which these abilities can be used, both by reducing the duration of their animations and by reducing the time between successive uses.

Attack/Cast Rate = Base Animation Speed * (1+Cast Speed/Melee Attack Speed/Throwing Attack Speed)

Targeted skills from Non-Player Characters affected by Blind have a chance to fire in a random direction away from their target.

Damage conversion[edit | edit source]

Damage conversion only applies to base damage. For example you have the following attributes

  • 100% increased physical damage (passive tree)
  • 50% increased fire damage (passive tree)
  • +10 base physical damage (skill modifier)
  • All damage is converted to fire damage (skill modifier)

A simplified calculation for a skill that does 40 physical damage would be:

(40+10) * (1+ 0.50) = 75 fire damage

Combat Order[edit | edit source]

Hits[edit | edit source]

Hits can only be made by skills, Damage Over Time cannot be a hit. Once a hostile skill Area of Effect lands in a Characters hit box the game goes through the following calculations in order to determine if and how much damage a character receives:

  1. Dodge chance is rolled to determine if the hit lands. If the hit is dodged no further calculations are made. If the dodge is unsuccessful, the rest of the calculations occur. Any "On Hit" effects are triggered.
  2. #Offensive Calculations are used to determine the types and amount of damage dealt.
  3. #Defensive Calculations are used to determine how much damage is mitigated, and thus the damage left over is taken.
  4. #Damage Taken Calculations will deal damage to characters and determines if they are killed, resulting in 'on kill' and 'on death' effects.

Damage From Other Sources[edit | edit source]

Damage can be given from sources other than a hit, usually from Statuses or Damage over Time Skills.

  1. #Offensive Calculations are used excluding Critical Strike Chance
  2. #Defensive Calculations are used excluding Block Chance, Chance to Recieve a Glancing Blow
  3. #Damage Taken Calculations used the same as for hits

Offensive Calculations[edit | edit source]

On a hit, the Critical Strike Chance or Melee Critical Strike Chance is rolled to determine if the hit is critical or not. If the hit is critical it increases the base damage by the Critical Strike Multiplier.

Base Damage on Critical = Critical Strike Multiplier * Base Damage

All damage is scaled randomly between -25% and +25%.

Randomized Damage = Base Damage * (1-[{-.25}\cdots{.25}])

Damage dealt from a hit, Damage Over Time effect, or other direct damage source is calculated separately for each of the Damage Types which are modified by any applicable Skill Type Modifiers.

Damage Dealt = {(Damage Type A + Damage Type A Modifiers + Skill Type Modifiers)} + \ldots + (Damage Type N + Damage Type N Modifiers + Skill Type Modifiers)

Modifiers which add to a Damage Type add directly to the Base Damage before being affected by other modifiers

Modifiers which Increase or Reduce a damage type are additive. Each modifier is added to together and the final amount is multiplied by the base damage.

Damage Dealt = (Increase Modifier + Increase Modifier - Reduce Modifier) * Base Damage

Modifiers which give more or less of a Damage Type are multiplicative. Each modifier is multiplied separately alongside the base damage.

Damage Dealt = More Modifier * Less Modifier * Base Damage

All together the modifiers result in the following calculation for each damage type:

Damage Dealt = (Base Damage + Add Modifiers) * (Increased - Reduced Modifiers) * (More Modifier) * (More Modifier) * (Less Modifier)
* (Less Modifier)

Defensive Calculations[edit | edit source]

Once damage is received Block Chance is rolled to determine if Block Armor and Block Protection are added to the base Protections. On a successful block roll "On Block" effects are triggered.

For each type of damage received it is mitigated by the Protections for each damage type.

For unblocked damage:

Damage Mitigated = Damage Dealt * \frac{Protection Amount - Penetration Amount}{Max Health + Current Ward + \left | Protection Amount - Penetration Amount \right |}

For blocked non-physical damage:

Damage Mitigated on Block = Damage Dealt * \frac{Protection Amount + Block Protection - Penetration Amount}{Max Health + Current Ward + \left | Protection Amount + Block Protection - Penetration Amount \right |}

For blocked physical damage:

Damage Mitigated on Physical Hit Block = Damage Dealt * \frac{Protection Amount + Block Protection - Penetration Amount}{Max Health + Current Ward + \left | Protection Amount + Block Protection + Block Armor - Penetration Amount \right |}

Additionally Chance to Receive a Glancing Blow reduces damage taken by 50% on a successful roll.

Reduced Damage Taken will further scale damage multiplicatively with each source.

Damage Taken= (Damage Received - Damage Mitigated) * (.5 if Glancing) * Reduced Damage Taken * Reduced Damage Taken

Damage Taken Calculations[edit | edit source]

Once damage is taken the amount is subtracted from

  1. The characters Ward
  2. Percent dealt to mana equal to the Damage Dealt to Mana Before Health modifier
  3. The characters Health

If the characters health drops to 0 or lower they are killed.