From 111f9c9af8b8cbf554b8c6e6d2999464643b0bee Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Mon, 8 Jan 2024 00:10:08 -0500 Subject: [PATCH] Make Electric types immune to paralysis --- src/pokemon.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pokemon.ts b/src/pokemon.ts index 1e92f90dc..35ca519bf 100644 --- a/src/pokemon.ts +++ b/src/pokemon.ts @@ -1401,6 +1401,10 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { if (this.isOfType(Type.POISON) || this.isOfType(Type.STEEL)) return false; break; + case StatusEffect.PARALYSIS: + if (this.isOfType(Type.ELECTRIC)) + return false; + break; case StatusEffect.FREEZE: if (this.isOfType(Type.ICE)) return false;