新增冒险系统
This commit is contained in:
@@ -32,7 +32,7 @@ class AdventureGame(BaseGame):
|
|||||||
]
|
]
|
||||||
|
|
||||||
self.total_weight: int = 0
|
self.total_weight: int = 0
|
||||||
for weight,_ in self.prize_pool:
|
for weight,_,_ in self.prize_pool:
|
||||||
self.total_weight += weight
|
self.total_weight += weight
|
||||||
|
|
||||||
async def handle(self, command: str, chat_id: int, user_id: int) -> str:
|
async def handle(self, command: str, chat_id: int, user_id: int) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user