1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-25 07:04:18 +00:00
This commit is contained in:
Steffo 2017-01-29 14:42:40 +01:00
parent b69dc00842
commit b097ec9281

12
main.py
View file

@ -337,14 +337,14 @@ class Stagista(Role):
def onendday(self, bot, game):
if self.master is not None:
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.changerole(bot, self.player, self.master.role.__class__)
else:
if isinstance(self.master.role, Derek) and self.master.role.deathwish:
game.message(bot, s.intern_chaos_summoned)
self.master.alive = True
game.changerole(bot, self.master, Servitore)
game.changerole(bot, self.player, SignoreDelCaos)
game.changerole(bot, self.master, SignoreDelCaos)
game.changerole(bot, self.player, Servitore)
else:
game.message(bot, s.intern_changed_role.format(icon=self.master.role.__class__.icon, role=self.master.role.__class__.name))
game.changerole(bot, self.player, self.master.role.__class__)
class SignoreDelCaos(Role):