Difference between revisions of "Template:Transient stat table result format"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Created page with "<includeonly><onlyinclude>{{#vardefine:max lv|{{#switch:{{{?Has rarity}}} | 5 = 70 | 4 = 65 | 3 = 60 | 2 = 55 | 1 = 50 }} }} <tr> <td>{{Transient icon|{{{?Has English name}}...")
 
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#vardefine:max lv|{{#switch:{{{?Has rarity}}}
<includeonly><onlyinclude>{{#if:
| 5 = 70
<!--defining vars-->
| 4 = 65
{{#vardefine:weapon|{{Weapon type|{{#if:{{#explode:{{#explode:{{{#userparam|}}}|###|0}}|@|1}}|{{#explode:{{#explode:{{{#userparam|}}}|###|0}}|@|1}}|{{{Has weapon type}}} }} }} }}
| 3 = 60
{{#arraydefine:atk multiplier array|{{#if:{{#explode:{{#explode:{{{#userparam|}}}|###|1}}|@|1}}|{{#explode:{{#explode:{{{#userparam|}}}|###|1}}|@|1}} }} }}
| 2 = 55
{{#arraydefine:hp multiplier array|{{#if:{{#explode:{{#explode:{{{#userparam|}}}|###|2}}|@|1}}|{{#explode:{{#explode:{{{#userparam|}}}|###|2}}|@|1}} }} }}
| 1 = 50
{{#vardefine:cs weapon|{{Weapon type|{{#if:{{#explode:{{#explode:{{{#userparam|}}}|###|3}}|@|1}}|{{#explode:{{#explode:{{{#userparam|}}}|###|3}}|@|1}}|{{{Has charge skill weapon type}}} }} }} }}
}}
{{#arraydefine:cs atk multiplier array|{{#if:{{#explode:{{#explode:{{{#userparam|}}}|###|4}}|@|1}}|{{#explode:{{#explode:{{{#userparam|}}}|###|4}}|@|1}} }} }}
}}
{{#vardefine:note|{{#if:{{#explode:{{#explode:{{{#userparam|}}}|###|5}}|@|1}}|{{#explode:{{#explode:{{{#userparam|}}}|###|5}}|@|1}}|}} }}
<tr>
 
   <td>{{Transient icon|{{{?Has English name}}}|size=medium|frame=y}}</td>
<!--calculating multipliers-->
   <td>{{#expr: {{{?Has hp value}}}+{{{?Has hp growth value}}}*({{#var:max lv}}-1) }}</td>
{{#vardefine:atk multiplier|1}}
   <td>{{#expr: {{{?Has hp value}}}+{{{?Has hp growth value}}}*({{#var:max lv}}+10-1)+1000 }}</td>
{{#arrayprint:atk multiplier array||@@@|{{#vardefine:atk multiplier|{{#expr:{{#var:atk multiplier}}*@@@}} }} }}
   <td>{{#expr: {{{?Has atk value}}}+{{{?Has atk growth value}}}*({{#var:max lv}}-1) }}</td>   
 
   <td>{{#expr: {{{?Has atk value}}}+{{{?Has atk growth value}}}*({{#var:max lv}}+10-1)+1000 }}</td>
{{#vardefine:hp multiplier|1}}
   <td>{{#expr: ({{{?Has atk value}}}+{{{?Has atk growth value}}}*({{#var:max lv}}-1))*{{Weapon atk multiplier|{{Weapon type|{{{?Has weapon type}}} }} }} }}</td>
{{#arrayprint:hp multiplier array||@@@|{{#vardefine:hp multiplier|{{#expr:{{#var:hp multiplier}}*(1/@@@)}} }} }}
   <td>{{#expr: ({{{?Has atk value}}}+{{{?Has atk growth value}}}*({{#var:max lv}}+10-1)+1000)*{{Weapon atk multiplier|{{Weapon type|{{{?Has weapon type}}} }} }} }}</td>
 
   <td>{{#expr: ({{{?Has atk value}}}+{{{?Has atk growth value}}}*({{#var:max lv}}-1))*{{Weapon atk multiplier|{{Weapon type|{{{?Has charge skill weapon type}}} }} }}*{{{?Has charge skill multiplier}}} }}</td>
{{#vardefine:cs atk multiplier|1}}
   <td>{{#expr: ({{{?Has atk value}}}+{{{?Has atk growth value}}}*({{#var:max lv}}+10-1)+1000)*{{Weapon atk multiplier|{{Weapon type|{{{?Has charge skill weapon type}}} }} }}*{{{?Has charge skill multiplier}}} }}</td>
{{#arrayprint:cs atk multiplier array||@@@|{{#vardefine:cs atk multiplier|{{#expr:{{#var:cs atk multiplier}}*@@@}} }} }}
}}<tr>
   <td>{{Transient icon|{{{Has English name}}}|size=medium|rarity={{{Has rarity}}}|variant={{{Has variant}}}|frame=y}}</td>
   <td>{{#expr: ({{formatnum:{{{Has hp value}}}|R}}+{{formatnum:{{{Has hp growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}-1)*{{#var:hp multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has hp value}}}|R}}+{{formatnum:{{{Has hp growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}+10-1)+1000)*{{#var:hp multiplier}}) round 0 }}</td>
   <td>{{#expr: ({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}-1)*{{#var:atk multiplier}})round 0 }}</td>   
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}+10-1)+1000)*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}-1))*{{Weapon atk multiplier|{{#var:weapon}} }}*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}+10-1)+1000)*{{Weapon atk multiplier|{{#var:weapon}} }}*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}-1))*{{Weapon atk multiplier|{{#var:cs weapon}} }}*{{{Has charge skill multiplier}}}*{{#var:cs atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}+10-1)+1000)*{{Weapon atk multiplier|{{#var:cs weapon}} }}*{{{Has charge skill multiplier}}}*{{#var:cs atk multiplier}}) round 0 }}</td>
  {{#if:{{#var:note}}|<td>{{#var:note}}</td>}}
</tr>
</tr>
</onlyinclude></includeonly>
</onlyinclude></includeonly>
<noinclude>==Test==
{{Transient stat table|Surtr|atk buff=2.4, 2.3, 4|cs atk buff=2.4, 2.3, 4, 6|note={{Status|en name=Protection}} test}}</noinclude>

Latest revision as of 05:31, 10 October 2021

Test

Unit (Effective) HP Base ATK ATK per square CS ATK per square (SALV1) Notes
Unseeded Seeded Unseeded Seeded Unseeded Seeded Unseeded Seeded
Icon frame rarity 3.pngInfernal element icon.pngThrust weapon icon.png 6498 8530 70556 108693 41078 59781 403313 586942 ProtectionDEF Up by 0.9x ~ 0.45x for 1 turn (Buff) test
Icon frame rarity 5.pngInfernal element icon.pngLong Slash weapon icon.png 9005 11047 74499 123035 28885 39371 693246 944908 ProtectionDEF Up by 0.9x ~ 0.45x for 1 turn (Buff) test
Icon frame rarity 4.pngFire element icon.pngSnipe weapon icon.png 6014 7833 103750 155641 30537 40467 549675 728401 ProtectionDEF Up by 0.9x ~ 0.45x for 1 turn (Buff) test