Difference between revisions of "Template:Melee Hit Chance/curve"
Jump to navigation
Jump to search
(allow the template to take expressions) |
Arcangelus (talk | contribs) m (Added documentation) |
||
Line 7: | Line 7: | ||
| 4 | 5 = {{#expr: ({{#var:baseScore}} - 40) * 0.001 + 0.96}} | | 4 | 5 = {{#expr: ({{#var:baseScore}} - 40) * 0.001 + 0.96}} | ||
| #default = {{#ifexpr: {{#var:baseScore}} >= 60 | 0.98 | 0.05}} | | #default = {{#ifexpr: {{#var:baseScore}} >= 60 | 0.98 | 0.05}} | ||
− | }}</includeonly><noinclude>{{Documentation | + | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 16:37, 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.
The above documentation is transcluded from Template:Melee Hit Chance/curve/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |