[FEATURE] Detect situations for playing battle music #1

Open
opened 2024-03-26 09:04:08 +00:00 by larion · 0 comments
Owner

To play battle music, some preconditions need to be met. These preconditions vary depending on which kind of battle scenario is in question.

Generic

  • Battle music should not be playing to start battle music
  • Death should always end the music UNLESS the spawn point is in the area of the battle

Raid

  • Battle music starts on wave start
  • BONUS: Slowly fades when wave is drawing to a close (?)

Boss battle

  • Battle music starts when boss battle starts
  • Music continues, but starts a countdown for ending when leaving the battle

Golem battle in a village

  • Battle music starts if a golem has been aggroed

Regular battle

  • Battle music starts when all the following conditions are met
    • Player has below 7 hearts
    • Player is close (<= 15 blocks) to 5 or more monsters
    • 3 or more monsters have been aggroed
To play battle music, some preconditions need to be met. These preconditions vary depending on which kind of battle scenario is in question. ### Generic * [ ] Battle music should not be playing to start battle music * [ ] Death should always end the music UNLESS the spawn point is in the area of the battle ### Raid * [ ] Battle music starts on wave start * [ ] BONUS: Slowly fades when wave is drawing to a close (?) ### Boss battle * [ ] Battle music starts when boss battle starts * [ ] Music continues, but starts a countdown for ending when leaving the battle ### Golem battle in a village * [ ] Battle music starts if a golem has been aggroed ### Regular battle * [x] Battle music starts when all the following conditions are met - Player has below 7 hearts - Player is close (<= 15 blocks) to 5 or more monsters - 3 or more monsters have been aggroed
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: larion/mc-battle-music#1
No description provided.