Skip to content

Commit

Permalink
6
Browse files Browse the repository at this point in the history
  • Loading branch information
paris-ci committed Apr 29, 2024
1 parent 52d339d commit dc7a7ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/ducks.py
Expand Up @@ -691,6 +691,8 @@ async def kill(self, damage: int, args):
if self.bot.current_event == Events.DUST_BOWL:
# Divide by two, round up
bonus_experience = bonus_experience // 2 + bonus_experience % 2
elif self.bot.current_event == Events.BLOSSOMING_FLOWERS:
bonus_experience = max(bonus_experience * 2, 21)

db_killer.shooting_stats["bonus_experience_earned"] += bonus_experience
won_experience += bonus_experience
Expand Down
1 change: 1 addition & 0 deletions src/utils/events.py
Expand Up @@ -56,4 +56,5 @@ class Events(Enum):

BONUS = _("Holiday bonus"), _("Claim your free gift! The first kill you do this hour will award you a lot of experience.")

BLOSSOMING_FLOWERS = _("Blossoming flowers"), _("Flowers are blooming this season, so all four leaf clover values are increased for the hour. Enjoy the prosperity!")

0 comments on commit dc7a7ca

Please sign in to comment.