|
|
@ -2,12 +2,13 @@ import asyncio
|
|
|
|
|
|
|
|
|
|
|
|
import discord
|
|
|
|
import discord
|
|
|
|
|
|
|
|
|
|
|
|
from datetime import datetime,timedelta
|
|
|
|
from datetime import datetime, timedelta
|
|
|
|
|
|
|
|
|
|
|
|
from cogs.werewolf.Role import Role
|
|
|
|
from cogs.werewolf.Role import Role
|
|
|
|
|
|
|
|
|
|
|
|
from cogs.werewolf.votegroups.wolfvote import WolfVote
|
|
|
|
from cogs.werewolf.votegroups.wolfvote import WolfVote
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class VanillaWerewolf(Role):
|
|
|
|
class VanillaWerewolf(Role):
|
|
|
|
|
|
|
|
|
|
|
|
rand_choice = True
|
|
|
|
rand_choice = True
|
|
|
@ -15,7 +16,7 @@ class VanillaWerewolf(Role):
|
|
|
|
allignment = 2 # 1: Town, 2: Werewolf, 3: Neutral
|
|
|
|
allignment = 2 # 1: Town, 2: Werewolf, 3: Neutral
|
|
|
|
channel_id = "werewolves"
|
|
|
|
channel_id = "werewolves"
|
|
|
|
unique = False
|
|
|
|
unique = False
|
|
|
|
game_start_message="""
|
|
|
|
game_start_message = """
|
|
|
|
Your role is **Werewolf**
|
|
|
|
Your role is **Werewolf**
|
|
|
|
You win by killing everyone else in the village
|
|
|
|
You win by killing everyone else in the village
|
|
|
|
Lynch players during the day with `[p]ww lynch <ID>`
|
|
|
|
Lynch players during the day with `[p]ww lynch <ID>`
|
|
|
@ -45,11 +46,10 @@ class VanillaWerewolf(Role):
|
|
|
|
|
|
|
|
|
|
|
|
# await action_list[event][0](data)
|
|
|
|
# await action_list[event][0](data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def assign_player(self, player):
|
|
|
|
# async def assign_player(self, player):
|
|
|
|
# """
|
|
|
|
# """
|
|
|
|
# Give this role a player
|
|
|
|
# Give this role a player
|
|
|
|
# Can be used after the game has started (Cult, Mason, other role swap)
|
|
|
|
# Can be used after the game has started (Cult, Mason, role swap)
|
|
|
|
# """
|
|
|
|
# """
|
|
|
|
|
|
|
|
|
|
|
|
# player.role = self
|
|
|
|
# player.role = self
|
|
|
|