Difference between revisions of "Template:Melee Hit Chance/curve/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Documentation for Template:Melee Hit Chance/curve)
 
m (Ups. Wrong category.)
 
Line 39: Line 39:
  
 
<includeonly>[[Category:Math templates]]</includeonly>
 
<includeonly>[[Category:Math templates]]</includeonly>
<noinclude>[[Category:Documentation templates]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 18:13, 5 March 2025

This template implements the Post-processing curve of Melee Hit Chance for a given base score. It returns a number between 0.05 and 0.98.

Modified
Melee Skill
Curve Point
-20 0.05
-10 0.10
0.0 0.50
10 0.80
20 0.90
40 0.96
60 0.98

Testing[edit]

  • 1+4: 0.65
  • 5: 0.65
  • -23: 0.05
  • -20: 0.05
  • -15: 0.075
  • -3: 0.38
  • 0: 0.5
  • 8: 0.74
  • 15: 0.85
  • 25: 0.915
  • 50: 0.97
  • 59: 0.979
  • 60: 0.98
  • 99999: 0.98
  • asdf: Expression error: Unexpected < operator.