mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 22:02: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,
|
speciesVariant: p.variant,
|
||||||
fusionVariant: p.fusionVariant,
|
fusionVariant: p.fusionVariant,
|
||||||
ability: p.abilityIndex,
|
ability: p.abilityIndex,
|
||||||
|
shiny: p.shiny?? false,
|
||||||
|
fusionShiny: p.fusionShiny?? false,
|
||||||
hp: {
|
hp: {
|
||||||
current: p.hp,
|
current: p.hp,
|
||||||
max: p.getMaxHp(),
|
max: p.getMaxHp(),
|
||||||
percent: p.getHpRatio(false) * 100,
|
percent: p.getHpRatio(false) * 100,
|
||||||
},
|
},
|
||||||
|
ivs: p.ivs,
|
||||||
moveset: p.moveset.map((m) => {
|
moveset: p.moveset.map((m) => {
|
||||||
return {
|
return {
|
||||||
moveId: m.moveId,
|
moveId: m.moveId,
|
||||||
@ -2041,6 +2044,8 @@ export default class BattleScene extends SceneBase {
|
|||||||
fieldPosition: p.fieldPosition,
|
fieldPosition: p.fieldPosition,
|
||||||
speciesVariant: p.variant,
|
speciesVariant: p.variant,
|
||||||
fusionVariant: p.fusionVariant,
|
fusionVariant: p.fusionVariant,
|
||||||
|
shiny: p.shiny?? false,
|
||||||
|
fusionShiny: p.fusionShiny?? false,
|
||||||
hp: {
|
hp: {
|
||||||
percent: p.getHpRatio(false) * 100,
|
percent: p.getHpRatio(false) * 100,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user