mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
included more data that the user can 'know'
This commit is contained in:
parent
7c9e082998
commit
c72a4d03b2
@ -2012,11 +2012,14 @@ export default class BattleScene extends SceneBase {
|
||||
speciesVariant: p.variant,
|
||||
fusionVariant: p.fusionVariant,
|
||||
ability: p.abilityIndex,
|
||||
shiny: p.shiny?? false,
|
||||
fusionShiny: p.fusionShiny?? false,
|
||||
hp: {
|
||||
current: p.hp,
|
||||
max: p.getMaxHp(),
|
||||
percent: p.getHpRatio(false) * 100,
|
||||
},
|
||||
ivs: p.ivs,
|
||||
moveset: p.moveset.map((m) => {
|
||||
return {
|
||||
moveId: m.moveId,
|
||||
@ -2041,6 +2044,8 @@ export default class BattleScene extends SceneBase {
|
||||
fieldPosition: p.fieldPosition,
|
||||
speciesVariant: p.variant,
|
||||
fusionVariant: p.fusionVariant,
|
||||
shiny: p.shiny?? false,
|
||||
fusionShiny: p.fusionShiny?? false,
|
||||
hp: {
|
||||
percent: p.getHpRatio(false) * 100,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user