切换语言: Deutsch English Español Français 日本語 한국어 Русский Українська

Damage/zh: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with " {{Languages}} == Damage Types == {|class="wikitable" |- ! Damage type !! Used by |- | Physical || Bullets (regular/piercing...")
 
No edit summary
Line 1: Line 1:


{{Languages}}
{{Languages}}
== Damage Types ==
== 伤害类型 ==
{|class="wikitable"
{|class="wikitable"
|-
|-
! Damage type !! Used by
! Damage type|伤害类型 !! Used by|武器
|-
|-
| 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]])
| Physical|物理伤害 || Bullets|手枪 冲锋枪 ([[Regular magazine|普通弹匣]]/[[Piercing rounds magazine|穿甲弹匣]]), 霰弹枪 ([[Shotgun shells|普通霰弹]]/[[Piercing shotgun shells|穿刺霰弹]]), [[Enemies#Biters|小中大食人虫]], 斧头 ([[Iron axe|铁斧]]/[[Steel axe|钢斧]]), 碰撞 ( [[Diesel locomotive|火车]]/[[car|车]])
|-
|-
| Fire || [[Flamethrower]]
| Fire|火焰伤害 || [[Flamethrower|喷火器]]
|-
|-
| Acid || [[Enemies#Worms|Worm Turrets]]
| Acid|腐蚀伤害 || [[Enemies#Worms|沙虫炮塔]]
|-
|-
| Poison || [[Poison capsule]]
| Poison|毒性伤害 || [[Poison capsule|剧毒手雷]]
|-
|-
| Explosion || [[Rocket|Rockets]], [[Explosive rocket|Explosive Rockets]]
| Explosion|爆炸伤害 || [[Rocket|制式火箭]], [[Explosive rocket|爆炸火箭]]
|-
|-
| Laser || [[Laser turrets]], [[Distractor capsule|distraction]]/[[Destroyer capsule|destroyer robots]], [[personal laser defense]]
| Laser|激光伤害 || [[Laser turrets|激光炮塔]], [[Distractor capsule|掩护机器人]]/[[Destroyer capsule|进攻机器人]], [[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
:1. 减少指定数额的伤害, 但减除的伤害不会小于1
: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 03:21, 19 October 2014

伤害类型

伤害类型 武器
物理伤害 手枪 冲锋枪 (普通弹匣/穿甲弹匣), 霰弹枪 (普通霰弹/穿刺霰弹), 小中大食人虫, 斧头 (铁斧/钢斧), 碰撞 ( 火车/)
火焰伤害 喷火器
腐蚀伤害 沙虫炮塔
毒性伤害 剧毒手雷
爆炸伤害 制式火箭, 爆炸火箭
激光伤害 激光炮塔, 掩护机器人/进攻机器人, 个人激光防御模块

伤害抗性

伤害抗性分为两种

百分抗性

优先计算,百分比减伤

固定抗性

1. 减少指定数额的伤害, 但减除的伤害不会小于1
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 点

列表举例

伤害 抗性 伤害结果
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
... ... ...