terastal dropdown added

This commit is contained in:
2023-01-29 15:37:32 +09:00
parent 2b8edd5c25
commit bccd606453
2 changed files with 62 additions and 6 deletions

View File

@@ -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