Skip to content

Commit

Permalink
dispatch immortal/possessed and ascended/transcended if the monster i…
Browse files Browse the repository at this point in the history
…s a combination of them
  • Loading branch information
TrustyJAID committed Mar 13, 2024
1 parent 5d299dd commit ec1c40b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion adventure/adventure.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,14 +986,19 @@ def dispatch_adventure(self, session: GameSession, was_exposed: bool = False):
self.bot.dispatch("adventure_boss", session)
elif session.miniboss:
self.bot.dispatch("adventure_miniboss", session)
# Notify of boss/miniboss

if session.transcended:
self.bot.dispatch("adventure_transcended", session)
elif session.ascended:
self.bot.dispatch("adventure_ascended", session)
elif session.immortal:
# Notify of ascended/descended

if session.immortal:
self.bot.dispatch("adventure_immortal", session)
elif session.possessed:
self.bot.dispatch("adventure_possessed", session)
# Notify of immortal/possessed

async def _choice(self, ctx: commands.Context, adventure_msg):
session = self._sessions[ctx.guild.id]
Expand Down

0 comments on commit ec1c40b

Please sign in to comment.