Difference between revisions of "User:RongJie"

Jump to navigation Jump to search
1,815 bytes added ,  09:37, 8 January 2020
Some ground work for strategy stat template
(Some ground work for strategy stat template)
Line 10: Line 10:
   |limit=3
   |limit=3
   }}
   }}
This will give 3 results
{{#ask:
  [[Has game context::Transient]]
  [[Has English name::Moritaka]]|limit=3
}}
This will give 1 result
{{#ask:
  [[Has game context::Transient]]
  [[Has rarity::3]]
  [[Has English name::Moritaka]]|limit=3|link=none|headers=hide|searchlabel=
}}
<!--preparation-->
{{#vardefine:transient en name|Moritaka}}
{{#vardefine:rarity|3}}
<!--code-->
{{#vardefine:transient subobj|
  {{#ask:
    [[Has game context::Transient]]
    [[Has rarity::{{#var:rarity|}}]]
    [[Has English name::{{#var:transient en name|}}]]
    |limit=1|link=none|headers=hide|searchlabel=
  }}
}}
{{#vardefine:hp|{{#show: {{#var:transient subobj}} |?Has hp value}} }}
{{#vardefine:atk|{{#show: {{#var:transient subobj}} |?Has atk value}} }}
{{#vardefine:hp growth|{{#show: {{#var:transient subobj}} |?Has hp growth value}} }}
{{#vardefine:atk growth|{{#show: {{#var:transient subobj}} |?Has atk growth value}} }}
{{#vardefine:max lv|{{#switch:{{#var:rarity|3}}
| 5 = 70
| 4 = 65
| 3 = 60
| 2 = 55
| 1 = 50
}}
}}
{| class="wikitable"
|-
! Unit !! Max HP (unseeded) !! Max HP (seeded) !! Max ATK (unseeded) !! Max ATK (seeded) !! Max normal ATK per square (unseeded) !! Max normal ATK per square (seeded) !! Max CS ATK per square (unseeded, SALV1) !! Max CS ATK per square (seeded, SALV1)
|-
| {{Transient icon|{{#var:transient en name}}|rarity={{#var:rarity}}|size=medium|frame=y}}
  || {{#expr: {{#var:hp|0}}+{{#var:hp growth|0}}*({{#var:max lv|0}}-1) }}
  || {{#expr: {{#var:hp|0}}+{{#var:hp growth|0}}*({{#var:max lv|0}}+10-1) + 1000 }}
  || {{#expr: {{#var:atk|0}}+{{#var:atk growth|0}}*({{#var:max lv|0}}-1) }}
  || {{#expr: {{#var:atk|0}}+{{#var:atk growth|0}}*({{#var:max lv|0}}+10-1) + 1000 }}
  || blah || blah || blah || blah
|}
{{#vardefine:hp|{{#show: Moritaka#transient0 |?Has hp value}} }}


{{#show: Unshakable_Believer#skill0 |?Has preformatted English description |sep=<br>}}
{{#show: Unshakable_Believer#skill0 |?Has preformatted English description |sep=<br>}}
123

edits

Navigation menu