feat: Add Memorial Arena

This commit is contained in:
Naruse
2024-11-11 10:52:08 +08:00
parent a913ff0697
commit d3ed9eba65
12 changed files with 194 additions and 24 deletions

View File

@@ -0,0 +1,66 @@
import betterproto
import random
from game_server.net.session import Session
from lib.proto import (
GodWarEventNotify,
GodWarEventInfo
)
async def handle(session: Session, msg: GodWarEventNotify) -> betterproto.Message:
return GodWarEventNotify(
god_war_id=1,
tale_id=30,
event_list=[
GodWarEventInfo(
event_id=570018,
event_param_list=[
418,
0
],
event_type=33,
source_event_id=57000,
source_type=1
),
GodWarEventInfo(
event_id=3000045,
event_type=10,
source_event_id=5910000,
source_type=1
),
GodWarEventInfo(
event_id=5910000,
event_type=99,
source_event_id=57000,
source_type=1
),
GodWarEventInfo(
event_id=3000045,
event_type=10,
source_event_id=570000,
source_type=1
),
GodWarEventInfo(
event_id=5600145,
event_param_list=[
10,
718,
1
],
event_type=49,
source_event_id=570000,
source_type=1
),
GodWarEventInfo(
event_id=570000,
event_type=99,
source_event_id=57000,
source_type=1
),
GodWarEventInfo(
event_id=57000,
event_type=99,
source_event_id=57000,
source_type=1
)
]
)