forked from Hay1tsme/artemis
wacca: move allowed_stages into __init__ for s
This commit is contained in:
parent
f71591e622
commit
346f82a32a
@ -11,7 +11,10 @@ from titles.wacca.handlers import *
|
|||||||
|
|
||||||
|
|
||||||
class WaccaS(WaccaBase):
|
class WaccaS(WaccaBase):
|
||||||
allowed_stages = [
|
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),
|
(1513, 13),
|
||||||
(1512, 12),
|
(1512, 12),
|
||||||
(1511, 11),
|
(1511, 11),
|
||||||
@ -27,10 +30,6 @@ class WaccaS(WaccaBase):
|
|||||||
(1501, 1),
|
(1501, 1),
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, cfg: CoreConfig, game_cfg: WaccaConfig) -> None:
|
|
||||||
super().__init__(cfg, game_cfg)
|
|
||||||
self.version = WaccaConstants.VER_WACCA_S
|
|
||||||
|
|
||||||
async def handle_advertise_GetNews_request(self, data: Dict) -> Dict:
|
async def handle_advertise_GetNews_request(self, data: Dict) -> Dict:
|
||||||
resp = GetNewsResponseV2()
|
resp = GetNewsResponseV2()
|
||||||
return resp.make()
|
return resp.make()
|
||||||
|
Loading…
Reference in New Issue
Block a user