all piclet data
Browse files
src/lib/components/Pages/Pictuary.svelte
CHANGED
|
@@ -135,22 +135,57 @@
|
|
| 135 |
const trainerInfo = trainerDataMap.get(piclet.id!);
|
| 136 |
|
| 137 |
return {
|
| 138 |
-
// Core piclet data (
|
| 139 |
id: piclet.id,
|
| 140 |
typeId: piclet.typeId,
|
| 141 |
nickname: piclet.nickname,
|
| 142 |
primaryType: piclet.primaryType,
|
| 143 |
secondaryType: piclet.secondaryType,
|
| 144 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
nature: piclet.nature,
|
| 146 |
specialAbility: piclet.specialAbility,
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
|
|
|
| 150 |
rosterPosition: piclet.rosterPosition,
|
|
|
|
|
|
|
|
|
|
| 151 |
caughtAt: piclet.caughtAt,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
imageUrl: piclet.imageUrl,
|
| 153 |
imageData: piclet.imageData,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
|
| 155 |
// Trainer scanner data (if available)
|
| 156 |
trainerInfo: trainerInfo || null
|
|
|
|
| 135 |
const trainerInfo = trainerDataMap.get(piclet.id!);
|
| 136 |
|
| 137 |
return {
|
| 138 |
+
// Core piclet data (complete dataset)
|
| 139 |
id: piclet.id,
|
| 140 |
typeId: piclet.typeId,
|
| 141 |
nickname: piclet.nickname,
|
| 142 |
primaryType: piclet.primaryType,
|
| 143 |
secondaryType: piclet.secondaryType,
|
| 144 |
+
|
| 145 |
+
// Current Stats
|
| 146 |
+
currentHp: piclet.currentHp,
|
| 147 |
+
maxHp: piclet.maxHp,
|
| 148 |
+
level: piclet.level,
|
| 149 |
+
xp: piclet.xp,
|
| 150 |
+
attack: piclet.attack,
|
| 151 |
+
defense: piclet.defense,
|
| 152 |
+
fieldAttack: piclet.fieldAttack,
|
| 153 |
+
fieldDefense: piclet.fieldDefense,
|
| 154 |
+
speed: piclet.speed,
|
| 155 |
+
|
| 156 |
+
// Base Stats
|
| 157 |
+
baseHp: piclet.baseHp,
|
| 158 |
+
baseAttack: piclet.baseAttack,
|
| 159 |
+
baseDefense: piclet.baseDefense,
|
| 160 |
+
baseFieldAttack: piclet.baseFieldAttack,
|
| 161 |
+
baseFieldDefense: piclet.baseFieldDefense,
|
| 162 |
+
baseSpeed: piclet.baseSpeed,
|
| 163 |
+
|
| 164 |
+
// Battle data
|
| 165 |
+
moves: piclet.moves,
|
| 166 |
nature: piclet.nature,
|
| 167 |
specialAbility: piclet.specialAbility,
|
| 168 |
+
specialAbilityUnlockLevel: piclet.specialAbilityUnlockLevel,
|
| 169 |
+
|
| 170 |
+
// Roster info
|
| 171 |
+
isInRoster: piclet.isInRoster,
|
| 172 |
rosterPosition: piclet.rosterPosition,
|
| 173 |
+
|
| 174 |
+
// Metadata
|
| 175 |
+
caught: piclet.caught,
|
| 176 |
caughtAt: piclet.caughtAt,
|
| 177 |
+
bst: piclet.bst,
|
| 178 |
+
tier: piclet.tier,
|
| 179 |
+
role: piclet.role,
|
| 180 |
+
variance: piclet.variance,
|
| 181 |
+
|
| 182 |
+
// Original generation data
|
| 183 |
imageUrl: piclet.imageUrl,
|
| 184 |
imageData: piclet.imageData,
|
| 185 |
+
imageCaption: piclet.imageCaption,
|
| 186 |
+
concept: piclet.concept,
|
| 187 |
+
description: piclet.description,
|
| 188 |
+
imagePrompt: piclet.imagePrompt,
|
| 189 |
|
| 190 |
// Trainer scanner data (if available)
|
| 191 |
trainerInfo: trainerInfo || null
|