Template:RitsuTest: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 239: Line 239:
             | {{#vardefine: avg_damage_passive1_passive2_heavy | {{#expr: {{#var:avg_damage_passive1_heavy}} * {{#arrayindex:passive2|0}} round2 }} }}
             | {{#vardefine: avg_damage_passive1_passive2_heavy | {{#expr: {{#var:avg_damage_passive1_heavy}} * {{#arrayindex:passive2|0}} round2 }} }}
             {{#if: {{#var:awk_dmg1}}
             {{#if: {{#var:awk_dmg1}}
                 |{{#vardefine: avg_damage_awk_passive1_passive2_heavy | {{#expr: {{#var:avg_damage_awk_passive1_heavy}} * 1.44 round2 }} }}
                 |{{#vardefine: avg_damage_awk_passive1_passive2_heavy | {{#expr: {{#var:avg_damage_awk_passive1_heavy}} * {{#arrayindex:passive2|0}} round2 }} }}
             }}
             }}
         }}
         }}
Line 517: Line 517:
             | {{#vardefine: avg_damage_passive1_passive2_heavy_pvp | {{#expr: {{#var:avg_damage_passive1_heavy_pvp}} * {{#arrayindex:passive2|1}} round2 }} }}
             | {{#vardefine: avg_damage_passive1_passive2_heavy_pvp | {{#expr: {{#var:avg_damage_passive1_heavy_pvp}} * {{#arrayindex:passive2|1}} round2 }} }}
             {{#if: {{#var:pvp_awk_dmg1}}
             {{#if: {{#var:pvp_awk_dmg1}}
                 |{{#vardefine: avg_damage_awk_passive1_passive2_heavy_pvp | {{#expr: {{#var:avg_damage_awk_passive1_heavy_pvp}} * 1.44 round2 }} }}
                 |{{#vardefine: avg_damage_awk_passive1_passive2_heavy_pvp | {{#expr: {{#var:avg_damage_awk_passive1_heavy_pvp}} * {{#arrayindex:passive2|1}} round2 }}
             }}
             }}
         }}
         }}

Revision as of 13:37, 14 March 2022

Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.