mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 06:42:20 +02:00
delete console.log()
This commit is contained in:
parent
8351866d0d
commit
320b05b236
@ -4704,7 +4704,6 @@ export class IllusionPreSummonAbAttr extends PreSummonAbAttr {
|
|||||||
*/
|
*/
|
||||||
applyPreSummon(pokemon: Pokemon, passive: boolean, args: any[]): boolean {
|
applyPreSummon(pokemon: Pokemon, passive: boolean, args: any[]): boolean {
|
||||||
let suppressed = false;
|
let suppressed = false;
|
||||||
console.log("PRESUMMONILLUSION : ", pokemon.name);
|
|
||||||
pokemon.scene.getField(true).filter(p => p !== pokemon).map(p => {
|
pokemon.scene.getField(true).filter(p => p !== pokemon).map(p => {
|
||||||
if ((p.getAbility().hasAttr(SuppressFieldAbilitiesAbAttr) && p.canApplyAbility()) || (p.getPassiveAbility().hasAttr(SuppressFieldAbilitiesAbAttr) && p.canApplyAbility(true))) {
|
if ((p.getAbility().hasAttr(SuppressFieldAbilitiesAbAttr) && p.canApplyAbility()) || (p.getPassiveAbility().hasAttr(SuppressFieldAbilitiesAbAttr) && p.canApplyAbility(true))) {
|
||||||
suppressed = true;
|
suppressed = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user