From 346f82a32ad101a23d4c244dc212750ef6b8c309 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Tue, 12 Mar 2024 14:20:36 -0400 Subject: [PATCH] wacca: move allowed_stages into __init__ for s --- titles/wacca/s.py | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/titles/wacca/s.py b/titles/wacca/s.py index 2633110..4e43237 100644 --- a/titles/wacca/s.py +++ b/titles/wacca/s.py @@ -11,25 +11,24 @@ from titles.wacca.handlers import * class WaccaS(WaccaBase): - allowed_stages = [ - (1513, 13), - (1512, 12), - (1511, 11), - (1510, 10), - (1509, 9), - (1508, 8), - (1507, 7), - (1506, 6), - (1505, 5), - (1504, 4), - (1503, 3), - (1502, 2), - (1501, 1), - ] - def __init__(self, cfg: CoreConfig, game_cfg: WaccaConfig) -> None: super().__init__(cfg, game_cfg) self.version = WaccaConstants.VER_WACCA_S + self.allowed_stages = [ + (1513, 13), + (1512, 12), + (1511, 11), + (1510, 10), + (1509, 9), + (1508, 8), + (1507, 7), + (1506, 6), + (1505, 5), + (1504, 4), + (1503, 3), + (1502, 2), + (1501, 1), + ] async def handle_advertise_GetNews_request(self, data: Dict) -> Dict: resp = GetNewsResponseV2()