Fix using wrong variant value when fusing
This commit is contained in:
parent
4607782578
commit
00150fd0bb
|
@ -1071,6 +1071,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||||
this.fusionFormIndex = 0;
|
this.fusionFormIndex = 0;
|
||||||
this.fusionAbilityIndex = 0;
|
this.fusionAbilityIndex = 0;
|
||||||
this.fusionShiny = false;
|
this.fusionShiny = false;
|
||||||
|
this.fusionVariant = 0;
|
||||||
this.fusionGender = 0;
|
this.fusionGender = 0;
|
||||||
this.fusionLuck = 0;
|
this.fusionLuck = 0;
|
||||||
|
|
||||||
|
@ -2486,7 +2487,7 @@ export class PlayerPokemon extends Pokemon {
|
||||||
this.fusionFormIndex = pokemon.formIndex;
|
this.fusionFormIndex = pokemon.formIndex;
|
||||||
this.fusionAbilityIndex = pokemon.abilityIndex;
|
this.fusionAbilityIndex = pokemon.abilityIndex;
|
||||||
this.fusionShiny = pokemon.shiny;
|
this.fusionShiny = pokemon.shiny;
|
||||||
this.fusionVariant = pokemon.fusionVariant;
|
this.fusionVariant = pokemon.variant;
|
||||||
this.fusionGender = pokemon.gender;
|
this.fusionGender = pokemon.gender;
|
||||||
this.fusionLuck = pokemon.luck;
|
this.fusionLuck = pokemon.luck;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue