1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-29 00:54:18 +00:00
This commit is contained in:
Steffo 2017-01-29 01:59:55 +01:00
parent 44976143cf
commit e53f34ad6d

View file

@ -340,6 +340,15 @@ class Stagista(Role):
if self.master.alive: if self.master.alive:
game.message(bot, s.intern_changed_role.format(icon=self.master.role.__class__.icon, role=self.master.role.__class__.name)) game.message(bot, s.intern_changed_role.format(icon=self.master.role.__class__.icon, role=self.master.role.__class__.name))
game.changerole(self.player, self.master.role.__class__) game.changerole(self.player, self.master.role.__class__)
self.player.message(bot, s.role_assigned.format(icon=self.player.role.icon, name=self.player.role.name))
if self.player.role.powerdesc is not None:
self.player.message(bot, self.player.role.powerdesc.format(gamename=self.name))
if self.__class__ == Mifioso:
text = s.mifia_team_intro
for player in game.playersinrole['Mifioso']:
text += s.mifia_team_player.format(icon=player.role.icon, name=player.tusername)
for player in game.playersinrole['Mifioso']:
player.message(bot, text)
else: else:
game.message(bot, "easter egg. yey") game.message(bot, "easter egg. yey")
#TODO: mettere l'easter egg #TODO: mettere l'easter egg