show evolutions as well
All checks were successful
Build and Deploy / Build & Push Image (push) Successful in 33s

This commit is contained in:
2026-03-18 20:28:06 -06:00
parent a8e3c9b1cc
commit d48f23b022
7 changed files with 4431 additions and 106 deletions

View File

@@ -66,9 +66,10 @@ defmodule CobblemonUi.BattlesApi do
ability: p["ability"],
nature: p["nature"],
shiny: p["shiny"],
moves: Enum.map(p["moves"] || [], fn m ->
%{name: m["name"], pp: m["pp"], max_pp: m["maxPp"]}
end)
moves:
Enum.map(p["moves"] || [], fn m ->
%{name: m["name"], pp: m["pp"], max_pp: m["maxPp"]}
end)
}
end
end