User:76561198031004412/Sandbox: Difference between revisions

From MENACE Official Wiki
Khitrir (talk | contribs)
No edit summary
Khitrir (talk | contribs)
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{:User:76561198031004412/Sandbox|SR31 - HM SPR|Single Shot}}
This is to build a proof of concept, which can then be converted into a dedicated module once the kinks are worked out. This can then be used as a point of comparison for the dedicate module to verify numbers etc.
 
{{:User:76561198031004412/Sandbox|R10A6 K-PAC with Launcher|Salvo}}


</noinclude><includeonly>
</noinclude><includeonly>
Line 10: Line 12:
|-
|-
! Weapon
! Weapon
| K-PAC
| [[{{{1|}}}]]
! Skill
! Skill
| [[File:{{#explode:{{#invoke:TestModule|getSkillProperty|{{{1|}}}|{{{2|}}}|Icon}}|<nowiki> @</nowiki>|0}}.png|24px]]{{{2|}}}
| [[File:{{#explode:{{#invoke:TestModule|getSkillProperty|{{{1|}}}|{{{2|}}}|Icon}}|<nowiki> @</nowiki>|0}}.png|24px]] {{{2|}}}
! AP
! AP
| 40
| {{#invoke:TestModule|getSkillProperty|{{{1|}}}|{{{2|}}}|ActionPointCost}} ????
! Ammo
! Ammo
| 16
| {{#invoke:TestModule|getSkillProperty|{{{1|}}}|{{{2|}}}|Uses}}
! Squad?
! Squad?
| Yes
| ????????
|}
{| class="wikitable"
|-
|-
|-
! Range<br><small>(Tiles)</small>
! Range<br><small>(Tiles)</small>
Line 38: Line 43:
|-  
|-  
! Accuracy
! Accuracy
| 1
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(1-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 2
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(2-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 3
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(3-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 4
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(4-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 5
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(5-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 6
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(6-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 7
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(7-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 8
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(8-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 9
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(9-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 10
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(10-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 11
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(11-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 12
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(12-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 13
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(13-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 14
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(14-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
| 15
| {{#expr: 50 + {{#invoke:TestModule|get|{{{1|}}}|AccuracyBonus}} - (abs(15-{{#invoke:TestModule|get|{{{1|}}}|IdealRange}}) * abs({{#invoke:TestModule|get|{{{1|}}}|AccuracyDropoff}}))}}%
|-
|-
! Armor Penetration  
! Armor Penetration  
Line 89: Line 94:
|-
|-
! Expected HP Damage per rifleman
! Expected HP Damage per rifleman
| 1
| {{#expr: {{#invoke:TestModule|get|{{{1|}}}|Damage}} * {{#invoke:TestModule|getSkillProperty|{{{1|}}}|{{{2|}}}|Repetitions}} }}
| 2
| 2 {{#invoke:TestModule|get|{{{1|}}}|DamageDropoff}}
| 3
| 3
| 4
| 4

Revision as of 06:18, 4 May 2026

This is to build a proof of concept, which can then be converted into a dedicated module once the kinks are worked out. This can then be used as a point of comparison for the dedicate module to verify numbers etc.


4 16


Weapon R10A6 K-PAC with Launcher Skill Salvo AP 0 ???? Ammo 16 Squad? ????????
Range
(Tiles)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Accuracy 22% 28% 34% 40% 34% 28% 22% 16% 10% 4% -2% -8% -14% -20% -26%
Armor Penetration 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Base HP Damage per shot 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Expected HP Damage per rifleman 27 2 -0.8 3 4 5 6 7 8 9 10 11 12 13 14 15
Base Armor Damage per shot 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Expected Armor Damage per rifleman 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15