mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Remove unnecessary !!
This commit is contained in:
parent
bbf7c04e86
commit
39de26b0af
@ -1084,7 +1084,7 @@ class FormChangeItemModifierTypeGenerator extends ModifierTypeGenerator {
|
|||||||
}
|
}
|
||||||
return formChangeItemTriggers;
|
return formChangeItemTriggers;
|
||||||
}).flat())
|
}).flat())
|
||||||
].flat().flatMap(fc => fc.item).filter(i => (!!i && i < 100) === rare);
|
].flat().flatMap(fc => fc.item).filter(i => (i && i < 100) === rare);
|
||||||
// convert it into a set to remove duplicate values, which can appear when the same species with a potential form change is in the party.
|
// convert it into a set to remove duplicate values, which can appear when the same species with a potential form change is in the party.
|
||||||
|
|
||||||
if (!formChangeItemPool.length) {
|
if (!formChangeItemPool.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user