terastal dropdown added
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
}
|
||||
pokemonStatus = {
|
||||
types: pokemonData?.types ? pokemonData.types : [],
|
||||
terastype: terastype,
|
||||
hp: hp_final,
|
||||
atk: atk_final,
|
||||
def: def_final,
|
||||
@@ -24,6 +25,7 @@
|
||||
let myValue;
|
||||
let currentValue = 0;
|
||||
let pokemonData;
|
||||
let terastype = [0];
|
||||
let hp_final = 0;
|
||||
let atk_final = 0;
|
||||
let def_final = 0;
|
||||
@@ -32,6 +34,7 @@
|
||||
let spd_final = 0;
|
||||
export let pokemonStatus = {
|
||||
types: [],
|
||||
terastype: [0],
|
||||
hp: 0,
|
||||
atk: 0,
|
||||
def: 0,
|
||||
@@ -66,6 +69,7 @@
|
||||
<div class="row">
|
||||
<DisplayData
|
||||
{pokemonData}
|
||||
bind:terastype
|
||||
bind:hp_final
|
||||
bind:atk_final
|
||||
bind:def_final
|
||||
|
||||
Reference in New Issue
Block a user