Difference between revisions of "Template:SpeciesStats"

From Cassette Beasts
Line 1: Line 1:
 
<table class="datatable">
 
<table class="datatable">
 
<tr><th colspan="2" class="header">Base Form Stats</th></tr>
 
<tr><th colspan="2" class="header">Base Form Stats</th></tr>
<tr><th>Max HP</th><td>{{SpeciesStatBar|value={{{max_hp|50}}}|max_value=200}}</td></tr>
+
<tr><th>Max HP</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|max_hp}}|max_value=200}}</td></tr>
<tr><th>M. Atk</th><td>{{SpeciesStatBar|value={{{melee_attack|50}}}|max_value=200}}</td></tr>
+
<tr><th>M. Atk</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|melee_attack}}|max_value=200}}</td></tr>
<tr><th>M. Def</th><td>{{SpeciesStatBar|value={{{melee_defense|50}}}|max_value=200}}</td></tr>
+
<tr><th>M. Def</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|melee_defense}}|max_value=200}}</td></tr>
<tr><th>R. Atk</th><td>{{SpeciesStatBar|value={{{ranged_attack|50}}}|max_value=200}}</td></tr>
+
<tr><th>R. Atk</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|ranged_attack}}|max_value=200}}</td></tr>
<tr><th>R. Def</th><td>{{SpeciesStatBar|value={{{ranged_defense|50}}}|max_value=200}}</td></tr>
+
<tr><th>R. Def</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|ranged_defense}}|max_value=200}}</td></tr>
<tr><th>Speed</th><td>{{SpeciesStatBar|value={{{speed|50}}}|max_value=200}}</td></tr>
+
<tr><th>Speed</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|speed}}|max_value=200}}</td></tr>
 
<tr><td class="vspacer">&nbsp;</td></tr>
 
<tr><td class="vspacer">&nbsp;</td></tr>
 
<tr><th colspan="2" class="header">Additional Stats</th></tr>
 
<tr><th colspan="2" class="header">Additional Stats</th></tr>
<tr><th>Max AP</th><td>{{{max_ap|5}}} / 10</td></tr>
+
<tr><th>Max AP</th><td>{{#invoke:Database|get_species|{{{id}}}|stats|max_ap}} / 10</td></tr>
<tr><th>Move Slots</th><td>{{{move_slots|4}}} / 8</td></tr>
+
<tr><th>Move Slots</th><td>{{#invoke:Database|get_species|{{{id}}}|stats|move_slots}} / 8</td></tr>
<tr><th>Recording Rate</th><td>{{{record_rate|50}}}</td></tr>
 
 
</table>
 
</table>

Revision as of 21:21, 21 May 2022

Base Form Stats
Max HP
0
M. Atk
0
M. Def
0
R. Atk
0
R. Def
0
Speed
0
 
Additional Stats
Max AP0 / 10
Move Slots0 / 8