In other languages: Deutsch Español Français 한국어 Русский Українська 中文

Difference between revisions of "Damage"

From Official Factorio Wiki
Jump to: navigation, search
(公式举例)
Line 1: Line 1:
  
 
{{Languages}}
 
{{Languages}}
== 伤害类型 ==
+
== Damage Types ==
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
! Damage type|伤害类型 !! Used by|武器
+
! Damage type !! Used by
 
|-
 
|-
| Physical|物理伤害 || Bullets|手枪 冲锋枪 ([[Regular magazine|普通弹匣]]/[[Piercing rounds magazine|穿甲弹匣]]), 霰弹枪 ([[Shotgun shells|普通霰弹]]/[[Piercing shotgun shells|穿刺霰弹]]), [[Enemies#Biters|小中大食人虫]], 斧头 ([[Iron axe|铁斧]]/[[Steel axe|钢斧]]), 碰撞 ( [[Diesel locomotive|火车]]/[[car|车]])
+
| 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]])
 
|-
 
|-
| Fire|火焰伤害 || [[Flamethrower|喷火器]]
+
| Fire || [[Flamethrower]]
 
|-
 
|-
| Acid|腐蚀伤害 || [[Enemies#Worms|沙虫炮塔]]
+
| Acid || [[Enemies#Worms|Worm Turrets]]
 
|-
 
|-
| Poison|毒性伤害 || [[Poison capsule|剧毒手雷]]
+
| Poison || [[Poison capsule]]
 
|-
 
|-
| Explosion|爆炸伤害 || [[Rocket|制式火箭]], [[Explosive rocket|爆炸火箭]]
+
| Explosion || [[Rocket|Rockets]], [[Explosive rocket|Explosive Rockets]]
 
|-
 
|-
| Laser|激光伤害 || [[Laser turrets|激光炮塔]], [[Distractor capsule|掩护机器人]]/[[Destroyer capsule|进攻机器人]], [[personal laser defense|个人激光防御模块]]
+
| Laser || [[Laser turrets]], [[Distractor capsule|distraction]]/[[Destroyer capsule|destroyer robots]], [[personal laser defense]]
 
|}
 
|}
 
+
== Resistance ==
== 伤害抗性 ==
+
Resistance has two aspects:
伤害抗性分为两种
+
=== Percentual resistance ===
=== 百分抗性 ===
+
Is applied first and will just reduce the damage by the specified amount of percent
优先计算,百分比减伤
+
=== Decrease resistance ===
=== 固定抗性 ===
+
It decreases the damage by specified number as long as the result damage wouldn't be less than one.
:1. 减少指定数额的伤害, 但减除的伤害不会小于1
+
When the result damage would get less than 1, the extra resistance is used as denominator in the fraction of damage that is going to be dealt
:2. 当减除到1之后抗性还有剩余, 剩下的抗性数值将作为1的除数作为最终伤害
 
=== 举例 ===
 
 
 
==== 公式举例 ====
 
 
 
:伤害10点 固定抗性8点 最终伤害为 10点 - 8点 = 2点 
 
:伤害10点 固定抗性11点 最终伤害为 ( 10点 - 9点 )/( 11点 - 9点 ) = 0.5 点
 
:伤害100点 百分抗性90% 固定抗性8点 最终伤害为 100点×90% - 8点 = 2点
 
:伤害100点 百分抗性90% 固定抗性11点 最终伤害为 ( 100点×90% - 9点 )/( 11点 - 9点 ) = 0.5 点
 
 
 
==== 列表举例 ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
! Damage|伤害 !! Resistance|抗性 !! Result damage|伤害结果
+
|-
 +
! Damage !! Resistance !! Result damage
 
|-
 
|-
 
| 5 || 0 || 5
 
| 5 || 0 || 5

Revision as of 02:30, 19 October 2014

Damage Types

Damage type Used by
Physical Bullets (regular/piercing), shotgun (regular/piercing), biters, axe (iron/steel), collision (of train/car)
Fire Flamethrower
Acid Worm Turrets
Poison Poison capsule
Explosion Rockets, Explosive Rockets
Laser Laser turrets, distraction/destroyer robots, personal laser defense

Resistance

Resistance has two aspects:

Percentual resistance

Is applied first and will just reduce the damage by the specified amount of percent

Decrease resistance

It decreases the damage by specified number as long as the result damage wouldn't be less than one. When the result damage would get less than 1, the extra resistance is used as denominator in the fraction of damage that is going to be dealt

Damage Resistance Result damage
5 0 5
5 1 4
5 2 3
5 3 2
5 4 1
5 5 1/2
5 6 1/3
5 7 1/4
5 8 1/5
... ... ...