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

Damage: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Line 19: Line 19:
|}
|}


== 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的除数作为最终伤害
 
3. 举例: 伤害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"
|-
|-

Revision as of 01:46, 19 October 2014

伤害类型

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

伤害抗性

伤害抗性分为两种:

百分抗性

优先计算,百分比减伤

固定抗性

1. 减少指定数额的伤害, 但减除的伤害不会小于1 2. 当减除到1之后抗性还有剩余, 剩下的抗性数值将作为1的除数作为最终伤害 3. 举例: 伤害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 点
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
... ... ...