<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.factorio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Merssedes</id>
	<title>Official Factorio Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.factorio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Merssedes"/>
	<link rel="alternate" type="text/html" href="https://wiki.factorio.com/Special:Contributions/Merssedes"/>
	<updated>2026-05-16T17:06:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Damage&amp;diff=140865</id>
		<title>Damage</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Damage&amp;diff=140865"/>
		<updated>2017-07-12T06:27:25Z</updated>

		<summary type="html">&lt;p&gt;Merssedes: modify damage at example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
In Factorio, entities have health, can die/be destroyed, and have resistances. &#039;&#039;Damage&#039;&#039; is defined as the concept of lowering an entity&#039;s health by using an attack, such as a gun firing at it, or a biter chewing on it. An entity&#039;s resistances will define exactly how much damage the entity will take off of an arbitrary attack.&lt;br /&gt;
&lt;br /&gt;
The [[player|character]]&#039;s maximum health is 100 (without [[energy shield]]s). Other entities&#039; health values are listed in their individual entries.&lt;br /&gt;
&lt;br /&gt;
== Achievements ==&lt;br /&gt;
{{Main|Achievements}}&lt;br /&gt;
The concept of damage is directly connected to the following achievements:&lt;br /&gt;
* Golem&lt;br /&gt;
Take 500 damage in one hit and survive.&lt;br /&gt;
&lt;br /&gt;
* Pyromaniac&lt;br /&gt;
&lt;br /&gt;
Destroy 10k trees with fire.&lt;br /&gt;
* Run Forrest run&lt;br /&gt;
&lt;br /&gt;
Destroy 100 trees by impact.&lt;br /&gt;
* Steamrolled&lt;br /&gt;
&lt;br /&gt;
Destroy 10 spawners by impact.&lt;br /&gt;
* Watch your step&lt;br /&gt;
&lt;br /&gt;
Get killed by a moving [[Diesel locomotive|locomotive]].&lt;br /&gt;
&lt;br /&gt;
== Damage Types ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Damage type !! Used by&lt;br /&gt;
|-&lt;br /&gt;
| Physical || Bullets ([[Regular magazine|regular]]/[[Piercing rounds magazine|piercing]]), shotgun ([[Shotgun shells|regular]]/[[Piercing shotgun shells|piercing]]), [[Enemies#Biters|biters]], axe ([[Iron axe|iron]]/[[Steel axe|steel]]), collision (of [[Diesel locomotive|train]]/[[car]])&lt;br /&gt;
|-&lt;br /&gt;
| Fire || [[Flamethrower]]&lt;br /&gt;
|-&lt;br /&gt;
| Acid || [[Enemies#Worms|Worm Turrets]], [[Enemies#Spitters|Spitters]]&lt;br /&gt;
|-&lt;br /&gt;
| Poison || [[Poison capsule]]&lt;br /&gt;
|-&lt;br /&gt;
| Explosion || [[Rocket|Rockets]], [[Explosive rocket|Explosive Rockets]], [[Grenade]], [[Cluster grenade]]&lt;br /&gt;
|-&lt;br /&gt;
| Laser || [[Turret#Laser Turrets|Laser turrets]], [[Distractor capsule|distraction]]/[[Destroyer capsule|destroyer robots]], [[personal laser defense]]&lt;br /&gt;
|}&lt;br /&gt;
== Resistance ==&lt;br /&gt;
Resistance has two aspects:&lt;br /&gt;
* Percentile resistance&lt;br /&gt;
Percentile resistance reduces the damage by the specified percent. If the percentage is 100%, the entity is immune to the damage. As an example, an entity having 25% resistance to 100 bullet damage would take 75 damage instead.&lt;br /&gt;
&lt;br /&gt;
* Decrease, or &amp;quot;flat&amp;quot; resistance&lt;br /&gt;
Decrease resistance decreases the damage by specified number as long as the result damage wouldn&#039;t be less than zero. If the result damage would be less than 0, the extra resistance is used as denominator in the fraction of damage that is going to be dealt.&lt;br /&gt;
&lt;br /&gt;
=== Display of resistances ===&lt;br /&gt;
&lt;br /&gt;
In Factorio, resistances are displayed as such:&lt;br /&gt;
&lt;br /&gt;
 Decrease resistance/Percent resistance&lt;br /&gt;
&lt;br /&gt;
So, an entity displaying 10/20% resistance to fire means that that entity has 10 flat resistance and 20% percentile resistance to fire. So, if said entity were to take 30 fire damage, they would instead take 16 damage, after resistances were applied.&lt;br /&gt;
&lt;br /&gt;
== Formulas ==&lt;br /&gt;
&lt;br /&gt;
=== Decrease &amp;lt; Damage ===&lt;br /&gt;
Result damage = (Damage - Decrease) * (1 - Percentage)&lt;br /&gt;
=== Decrease &amp;gt;= Damage ===&lt;br /&gt;
Result damage = 1 / (2 + Decrease - Damage) * (1 - Percentage)&lt;br /&gt;
&lt;br /&gt;
An example table of different resistances and what the result damage would be:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Damage !! Resistance !! Result damage (0% damage loss)&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 0 || 5&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 1 || 4&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 2 || 3&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 3 || 2&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 5 || 1/2&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 6 || 1/3&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 7 || 1/4&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 8 || 1/5&lt;br /&gt;
|-&lt;br /&gt;
| ... || ... || ...&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Merssedes</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Talk:Damage&amp;diff=140858</id>
		<title>Talk:Damage</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Talk:Damage&amp;diff=140858"/>
		<updated>2017-07-11T16:00:54Z</updated>

		<summary type="html">&lt;p&gt;Merssedes: Damage and flat resistance&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After some testing in version 0.15.28 found out two things:&lt;br /&gt;
&lt;br /&gt;
1) percentile resistance is applied second (i&#039;ve edited the page about it);&lt;br /&gt;
&lt;br /&gt;
2) flat resistance works little different than it&#039;s wrote in wiki:&lt;br /&gt;
&lt;br /&gt;
[code]&lt;br /&gt;
&lt;br /&gt;
let D = damage - flat resistance&lt;br /&gt;
&lt;br /&gt;
if D &amp;lt; 1 then let D = 1 / (2 - D)&lt;br /&gt;
&lt;br /&gt;
D is resulting damage&lt;br /&gt;
&lt;br /&gt;
[/code]&lt;br /&gt;
&lt;br /&gt;
This differs from what written in wiki in case of (damage - flat resistance) in range from 0 to 1 exclusive.&lt;br /&gt;
&lt;br /&gt;
Don&#039;t really know how to correctly write it in wiki, so post it in discussion for now.&lt;/div&gt;</summary>
		<author><name>Merssedes</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Damage&amp;diff=140857</id>
		<title>Damage</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Damage&amp;diff=140857"/>
		<updated>2017-07-11T15:50:00Z</updated>

		<summary type="html">&lt;p&gt;Merssedes: /* Resistance */ after some testing on version 0.15.28 turned out that precentile resistance is applies second, wich corellates with formulas in next part of the page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
In Factorio, entities have health, can die/be destroyed, and have resistances. &#039;&#039;Damage&#039;&#039; is defined as the concept of lowering an entity&#039;s health by using an attack, such as a gun firing at it, or a biter chewing on it. An entity&#039;s resistances will define exactly how much damage the entity will take off of an arbitrary attack.&lt;br /&gt;
&lt;br /&gt;
The [[player|character]]&#039;s maximum health is 100 (without [[energy shield]]s). Other entities&#039; health values are listed in their individual entries.&lt;br /&gt;
&lt;br /&gt;
== Achievements ==&lt;br /&gt;
{{Main|Achievements}}&lt;br /&gt;
The concept of damage is directly connected to the following achievements:&lt;br /&gt;
* Golem&lt;br /&gt;
Take 500 damage in one hit and survive.&lt;br /&gt;
&lt;br /&gt;
* Pyromaniac&lt;br /&gt;
&lt;br /&gt;
Destroy 10k trees with fire.&lt;br /&gt;
* Run Forrest run&lt;br /&gt;
&lt;br /&gt;
Destroy 100 trees by impact.&lt;br /&gt;
* Steamrolled&lt;br /&gt;
&lt;br /&gt;
Destroy 10 spawners by impact.&lt;br /&gt;
* Watch your step&lt;br /&gt;
&lt;br /&gt;
Get killed by a moving [[Diesel locomotive|locomotive]].&lt;br /&gt;
&lt;br /&gt;
== Damage Types ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Damage type !! Used by&lt;br /&gt;
|-&lt;br /&gt;
| Physical || Bullets ([[Regular magazine|regular]]/[[Piercing rounds magazine|piercing]]), shotgun ([[Shotgun shells|regular]]/[[Piercing shotgun shells|piercing]]), [[Enemies#Biters|biters]], axe ([[Iron axe|iron]]/[[Steel axe|steel]]), collision (of [[Diesel locomotive|train]]/[[car]])&lt;br /&gt;
|-&lt;br /&gt;
| Fire || [[Flamethrower]]&lt;br /&gt;
|-&lt;br /&gt;
| Acid || [[Enemies#Worms|Worm Turrets]], [[Enemies#Spitters|Spitters]]&lt;br /&gt;
|-&lt;br /&gt;
| Poison || [[Poison capsule]]&lt;br /&gt;
|-&lt;br /&gt;
| Explosion || [[Rocket|Rockets]], [[Explosive rocket|Explosive Rockets]], [[Grenade]], [[Cluster grenade]]&lt;br /&gt;
|-&lt;br /&gt;
| Laser || [[Turret#Laser Turrets|Laser turrets]], [[Distractor capsule|distraction]]/[[Destroyer capsule|destroyer robots]], [[personal laser defense]]&lt;br /&gt;
|}&lt;br /&gt;
== Resistance ==&lt;br /&gt;
Resistance has two aspects:&lt;br /&gt;
* Percentile resistance&lt;br /&gt;
Percentile resistance reduces the damage by the specified percent. If the percentage is 100%, the entity is immune to the damage. As an example, an entity having 25% resistance to 100 bullet damage would take 75 damage instead.&lt;br /&gt;
&lt;br /&gt;
* Decrease, or &amp;quot;flat&amp;quot; resistance&lt;br /&gt;
Decrease resistance decreases the damage by specified number as long as the result damage wouldn&#039;t be less than zero. If the result damage would be less than 0, the extra resistance is used as denominator in the fraction of damage that is going to be dealt.&lt;br /&gt;
&lt;br /&gt;
=== Display of resistances ===&lt;br /&gt;
&lt;br /&gt;
In Factorio, resistances are displayed as such:&lt;br /&gt;
&lt;br /&gt;
 Decrease resistance/Percent resistance&lt;br /&gt;
&lt;br /&gt;
So, an entity displaying 10/20% resistance to fire means that that entity has 10 flat resistance and 20% percentile resistance to fire. So, if said entity were to take 30 fire damage, they would instead take 14 damage, after resistances were applied.&lt;br /&gt;
&lt;br /&gt;
== Formulas ==&lt;br /&gt;
&lt;br /&gt;
=== Decrease &amp;lt; Damage ===&lt;br /&gt;
Result damage = (Damage - Decrease) * (1 - Percentage)&lt;br /&gt;
=== Decrease &amp;gt;= Damage ===&lt;br /&gt;
Result damage = 1 / (2 + Decrease - Damage) * (1 - Percentage)&lt;br /&gt;
&lt;br /&gt;
An example table of different resistances and what the result damage would be:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Damage !! Resistance !! Result damage (0% damage loss)&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 0 || 5&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 1 || 4&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 2 || 3&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 3 || 2&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 5 || 1/2&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 6 || 1/3&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 7 || 1/4&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 8 || 1/5&lt;br /&gt;
|-&lt;br /&gt;
| ... || ... || ...&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Merssedes</name></author>
	</entry>
</feed>