added item support and team registration #4

Open
hansoo wants to merge 14 commits from add-item-support into master
2 changed files with 3 additions and 4 deletions
Showing only changes of commit 97bdcff481 - Show all commits

View File

@@ -17,6 +17,7 @@
}); });
} }
if (!!attackId) { if (!!attackId) {
console.log(attackId);
invoke("search_move", { index: attackId }).then((r) => { invoke("search_move", { index: attackId }).then((r) => {
currentValue = myValue = attackId; currentValue = myValue = attackId;
attackData = r; attackData = r;

View File

@@ -232,7 +232,6 @@
let resist = []; let resist = [];
let immune = []; let immune = [];
type_compatibility.forEach((v, i) => { type_compatibility.forEach((v, i) => {
console.log(v);
switch (v) { switch (v) {
case 4: case 4:
super_weakness.push(i + 1); super_weakness.push(i + 1);
@@ -634,10 +633,7 @@
<tr <tr
on:click={() => { on:click={() => {
console.log("passing" + learnset.name); console.log("passing" + learnset.name);
console.log(learnset.learnset_id);
console.log(attackId);
attackId = learnset.learnset_id; attackId = learnset.learnset_id;
console.log(attackId);
}} }}
> >
<td <td
@@ -719,6 +715,7 @@
border: 1px solid; border: 1px solid;
vertical-align: middle; vertical-align: middle;
height: 25px; height: 25px;
padding: 5px;
} }
.weakness { .weakness {
width: 90%; width: 90%;
@@ -727,6 +724,7 @@
border: 1px solid; border: 1px solid;
vertical-align: middle; vertical-align: middle;
min-height: 25px; min-height: 25px;
padding: 2px;
} }
.learnset { .learnset {
width: 90%; width: 90%;