Damage Calculation: Difference between revisions
(Created page with "This page shows damage calculation and related mechanics. <br/> =='''Damage'''== A creature can use its abilities to inflict damage on enemies. Attack damage is applied immediately while effect damage is applied separately afterward. Damage must be either physical or venom. Only the male scientist and fungus waste poisoning is currently confirmed to inflict true damage, which ignores damage modifications.<ref>Confirmed by Mike on...") |
No edit summary |
||
Line 5: | Line 5: | ||
A creature can use its abilities to inflict damage on enemies. Attack damage is applied immediately while effect damage is applied separately afterward. | A creature can use its abilities to inflict damage on enemies. Attack damage is applied immediately while effect damage is applied separately afterward. | ||
Damage must be either physical or venom. Only the [[The Scientists|male scientist]] and [[Leafcutter Ant|fungus waste]] poisoning is currently confirmed to inflict true damage, which ignores damage modifications. | Damage must be either physical or venom. Only the [[The Scientists|male scientist]] and [[Leafcutter Ant|fungus waste]] poisoning is currently confirmed to inflict true damage, which ignores damage modifications. | ||
<br/> | <br/> | ||
Line 33: | Line 33: | ||
The value of [''resistance'' - ''piercing''] must be positive. The value of [''damage'' - ''armor''] must have a minimum value of 0.5. | The value of [''resistance'' - ''piercing''] must be positive. The value of [''damage'' - ''armor''] must have a minimum value of 0.5. | ||
An instant of damage in | An instant of damage in damage-over-time effects is treated as an attack of its own. | ||
'''Examples''' | '''Examples''' |
Revision as of 14:57, 31 May 2024
This page shows damage calculation and related mechanics.
Damage
A creature can use its abilities to inflict damage on enemies. Attack damage is applied immediately while effect damage is applied separately afterward.
Damage must be either physical or venom. Only the male scientist and fungus waste poisoning is currently confirmed to inflict true damage, which ignores damage modifications.
Area damage
An AOE ability may inflict damage on multiple enemies over a certain area at once. The affected area is calculated from the target.
A splash attack with will inflict less damage on non-targeted enemies if they aren't within a certain radius from the main target. The formula hasn't been revealed.
Damage modifications
- AOE resistance: A creature with this stat can reduce taken damage if they are over 10 units away from the main target of an AOE ability.
- Armor: A creature with this stat can reduce taken damage by a flat amount.
- Resistance: A creature with physical resistance or venom resistance can reduce taken damage from same-typed attacks by a certain percentage.
- Piercing: A creature with this stat can reduce the resistance of its enemies in damage calculation.
- Maximum taken damage: A creature with this stat can only take a certain maximum amount of damage from each attack.
Damage formula
Total damage is calculated based on this formula.
Total damage = [base damage * splash percentage * (100% - AOE resistance) - armor] * (100% - [physical or venom resistance - piercing])
The value of [resistance - piercing] must be positive. The value of [damage - armor] must have a minimum value of 0.5.
An instant of damage in damage-over-time effects is treated as an attack of its own.
Examples
The attacker deals 5 physical damage initially. It also deals 10 venom damage every 0.5 second for 2 seconds afterward. The defender has 20% physical resistance and 10% venom resistance.
=> Attack = 5 * (1 - 0.2) = 4.
=> Effect damage = 10 * (1 - 0.1) * 2 / 0.5 = 36.
=> Total damage = 4 + 36 = 40.
If the defender can only take maximum of 3 damage per hit, the total damage becomes: 3 + 3 * 2 / 0.5 = 15.
Trivia
(none)