mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-17 01:37:36 +00:00
Make Electric types immune to paralysis
This commit is contained in:
parent
bde168accb
commit
111f9c9af8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user