mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
fix revelation dance using the type of the illusion instead of the actual type
This commit is contained in:
parent
1042b528ec
commit
91fb7a47b5
@ -5154,7 +5154,7 @@ export class MatchUserTypeAttr extends VariableMoveTypeAttr {
|
|||||||
if (!(moveType instanceof NumberHolder)) {
|
if (!(moveType instanceof NumberHolder)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const userTypes = user.getTypes(true);
|
const userTypes = user.getTypes(true, false, undefined, false);
|
||||||
|
|
||||||
if (userTypes.includes(PokemonType.STELLAR)) { // will not change to stellar type
|
if (userTypes.includes(PokemonType.STELLAR)) { // will not change to stellar type
|
||||||
const nonTeraTypes = user.getTypes();
|
const nonTeraTypes = user.getTypes();
|
||||||
|
Loading…
Reference in New Issue
Block a user