Template:RitsuTest: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
<!-- total damage calculation, missing dmg specified as 0 to omit the need to write multiple conditions --> | <!-- total damage calculation, missing dmg specified as 0 to omit the need to write multiple conditions --> | ||
{{#vardefine: total_damage |{{#expr: ({{#var:dmg1}} * {{#var:hits1}}) + ({{#var:dmg2}} * {{#var:hits2}}) + ({{#var:dmg3}} * {{#var:hits3 | {{#vardefine: total_damage |{{#expr: ({{#var:dmg1}} * {{#var:hits1}}) + ({{#var:dmg2}} * {{#var:hits2}}) + ({{#var:dmg3}} * {{#var:hits3}}) }} }} | ||
<!-- with useful, if exists --> | <!-- with useful, if exists --> | ||
{{#if:{{{useful|}}} | {{#if:{{{useful|}}} |