From 1e6d673841fa12e1d5ae6851d536f4c827a8fe8e Mon Sep 17 00:00:00 2001 From: Max Nusspickel Date: Sat, 29 Nov 2025 13:10:55 +0000 Subject: [PATCH 1/2] Adds MOVE_MOVE and ATTACK_ATTACK to COMBINEABLE_ABILITIES --- sc2/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sc2/constants.py b/sc2/constants.py index e23d4c13..17827fa2 100644 --- a/sc2/constants.py +++ b/sc2/constants.py @@ -312,7 +312,9 @@ # Used in unit_command.py and action.py to combine only certain abilities COMBINEABLE_ABILITIES: set[AbilityId] = { AbilityId.MOVE, + AbilityId.MOVE_MOVE, AbilityId.ATTACK, + AbilityId.ATTACK_ATTACK, AbilityId.SCAN_MOVE, AbilityId.STOP, AbilityId.HOLDPOSITION, From 19c88d13ff8fdcb7ea3c4c38d62aa52a5e9ea1a5 Mon Sep 17 00:00:00 2001 From: Max Nusspickel Date: Sat, 6 Dec 2025 19:47:31 +0000 Subject: [PATCH 2/2] Allow multiple inheritance of BotAIInternal --- sc2/bot_ai_internal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sc2/bot_ai_internal.py b/sc2/bot_ai_internal.py index bb5738c2..81246354 100644 --- a/sc2/bot_ai_internal.py +++ b/sc2/bot_ai_internal.py @@ -53,7 +53,8 @@ class BotAIInternal(ABC): """Base class for bots.""" - def __init__(self) -> None: + def __init__(self, *args, **kwargs) -> None: + super().__init__(*args, **kwargs) self._initialize_variables() @final