Editing Melee Hit Chance
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{Stub|reason=Add effect of [[light]] and biological age {{BiotechIcon}} }} |
{{Stat | {{Stat | ||
| default base value = 0 | | default base value = 0 | ||
Line 7: | Line 7: | ||
}}<ref>See MeleeHitChance in ''Rimworld/Data/Core/Defs/Stats/Stats_Pawns_Combat.xml''</ref> | }}<ref>See MeleeHitChance in ''Rimworld/Data/Core/Defs/Stats/Stats_Pawns_Combat.xml''</ref> | ||
− | + | == Base score == | |
− | |||
The base score starts at 0 and is affected by the following things: | The base score starts at 0 and is affected by the following things: | ||
− | * [[Skills#Melee|Melee]][[Skill::Melee| ]] skill: {{+|1}} per level | + | * [[Skills#Melee|Melee]][[Skill::Melee| ]] skill: {{+|1}} per level |
* [[Sight]]: [[Sight Importance::12|12x]] importance, no allowed defect. [[Sight Limit::1.5|150%]] limit | * [[Sight]]: [[Sight Importance::12|12x]] importance, no allowed defect. [[Sight Limit::1.5|150%]] limit | ||
** <code>offset = 12 x ((IF ''sight'' < 150% THEN ''sight'' ELSE 150%) - 100%)</code> e.g. {{+|6}} at 150% sight. | ** <code>offset = 12 x ((IF ''sight'' < 150% THEN ''sight'' ELSE 150%) - 100%)</code> e.g. {{+|6}} at 150% sight. | ||
Line 22: | Line 21: | ||
* [[Mechlord helmet]] {{BiotechIcon}}: {{--|0.5}} | * [[Mechlord helmet]] {{BiotechIcon}}: {{--|0.5}} | ||
− | + | == Post-processing curve == | |
The ''melee hit chance'' is then calculated with the following ''post-processing curve''. As you can see increasing the ''base score'' has diminishing returns. | The ''melee hit chance'' is then calculated with the following ''post-processing curve''. As you can see increasing the ''base score'' has diminishing returns. | ||
Line 42: | Line 41: | ||
}} | }} | ||
|} | |} | ||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
Line 284: | Line 280: | ||
== Version history == | == Version history == | ||
− | * [[Version/0.17.1546|0.17.1546]] - Removed post-process curve from melee hit chance so it uses the simple level-by-level tuning. It’ll be much harder to hit things now at low melee skills. | + | * [[Version/0.17.1546|0.17.1546]] - Removed post-process curve from melee hit chance so it uses the simple level-by-level tuning. It’ll be much harder to hit things now at low melee skills. |
== References == | == References == | ||
Line 290: | Line 286: | ||
{{Nav|stats|wide}} | {{Nav|stats|wide}} | ||
− |