Skip to content

Commit 3d678e0

Browse files
committed
Add focus punch effect
1 parent c618882 commit 3d678e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/poke_env/environment/effect.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class Effect(Enum):
6767
FLOWER_VEIL = auto()
6868
FOCUS_BAND = auto()
6969
FOCUS_ENERGY = auto()
70+
FOCUS_PUNCH = auto()
7071
FOLLOW_ME = auto()
7172
FORESIGHT = auto()
7273
FOREWARN = auto()
@@ -503,6 +504,7 @@ def is_from_move(self) -> bool:
503504
Effect.FIRE_SPIN,
504505
Effect.FLINCH,
505506
Effect.FOCUS_ENERGY,
507+
Effect.FOCUS_PUNCH,
506508
Effect.FOLLOW_ME,
507509
Effect.FORESIGHT,
508510
Effect.FUTURE_SIGHT,
@@ -745,6 +747,7 @@ def is_from_move(self) -> bool:
745747
Effect.CRAFTY_SHIELD,
746748
Effect.FEINT,
747749
Effect.FLINCH,
750+
Effect.FOCUS_PUNCH,
748751
Effect.FOLLOW_ME,
749752
Effect.KINGS_SHIELD,
750753
Effect.CUSTAP_BERRY,

0 commit comments

Comments
 (0)