fight-fixes
Bobloy 7 years ago
parent 2c39a00a66
commit 704d0e0ded

@ -126,4 +126,4 @@ class Role:
pass pass
async def _at_night_end(self, data=None): async def _at_night_end(self, data=None):
pass pass

@ -2,20 +2,21 @@ 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
category = [11, 15] category = [11, 15]
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,15 +46,14 @@ 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
# self.player = player # self.player = player
async def _get_role(self, source=None): async def _get_role(self, source=None):
""" """
@ -93,4 +93,4 @@ class VanillaWerewolf(Role):
# super()._at_night_start(data) # super()._at_night_start(data)
# async def _at_night_end(self, data=None): # async def _at_night_end(self, data=None):
# super()._at_night_end(data) # super()._at_night_end(data)

@ -81,4 +81,4 @@ class Villager(Role):
pass pass
async def _at_night_end(self): async def _at_night_end(self):
pass pass

@ -98,4 +98,4 @@ class VoteGroup:
Receive vote from game Receive vote from game
""" """
self.vote_results[author.id] = id self.vote_results[author.id] = id

Loading…
Cancel
Save