Skip to content

Commit

Permalink
Ignore uhtml message in battle parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
hsahovic committed Apr 6, 2024
1 parent ec0d10c commit edab34e
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/poke_env/environment/abstract_battle.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,51 +14,52 @@
class AbstractBattle(ABC):
MESSAGES_TO_IGNORE = {
"-anim",
"-burst",
"-block",
"-burst",
"-center",
"-crit",
"-combine",
"-crit",
"-fail",
"-fieldactivate",
"-hint",
"-hitcount",
"-ohko",
"-miss",
"-notarget",
"-nothing",
"-ohko",
"-resisted",
"-singlemove",
"-singleturn",
"-supereffective",
"-waiting",
"-zbroken",
"J",
"L",
"askreg",
"debug",
"chat",
"c",
"chat",
"crit",
"debug",
"deinit",
"gametype",
"gen",
"html",
"init",
"immune",
"join",
"init",
"j",
"J",
"leave",
"join",
"l",
"L",
"name",
"leave",
"n",
"name",
"rated",
"resisted",
"split",
"supereffective",
"teampreview",
"tier",
"upkeep",
"uhtml",
"zbroken",
}

Expand Down

0 comments on commit edab34e

Please sign in to comment.