mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-25 07:04:18 +00:00
boh
This commit is contained in:
parent
b69dc00842
commit
b097ec9281
1 changed files with 6 additions and 6 deletions
12
main.py
12
main.py
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue