reflect attack automatically

This commit is contained in:
2023-02-05 20:06:01 +09:00
parent fbea5ac8e5
commit 8b73b7f952
6 changed files with 53 additions and 10 deletions

View File

@@ -122,7 +122,7 @@ fn search(index: i64) -> SearchResult {
{
let row_result = PokemonDataLearnset {
id: row.read::<i64, _>("id"),
learset_id: row.read::<i64, _>("learnset_id"),
learnset_id: row.read::<i64, _>("learnset_id"),
name: row.read::<&str, _>("name").to_string(),
types: serde_json::from_str(row.read::<&str, _>("types")).unwrap_or(vec![0]),
power: row.read::<i64, _>("power"),