[BCNM] Add final Waking the Beast BCNM fight (Carbuncle Prime) #6257
+980
−56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I affirm:
What does this pull request do?
Note this is still a draft (to get feedback) as a few details are still being verified on retail. (This includes verification of the potency formula of Healing Ruby II (when used by carbuncle mobs) and the distance range of avatar 2hrs) And also better to wait for the other WTB PRs to be merged.
This PR is part of a series to add the full Waking the Beast quest. This PR adds the final Carbuncle Prime BCNM in Full Moon Fountain. This is a complex fight consists of 7 different stages. The logic is mostly concentrated in the battlefield script in
onBattlefieldTick
(and private helper functions) as coordination is needed to, for example, spawn and despawn multiple mob groups (during phase changes) and facilitate mobs using simultaneous 2hrs. This centralized logic is better than having the logic distributed across many mob scripts which would add complexity and reduce understandability.The fight logic and flow is based on many captures including by Siknoz (here and here), Aether (here), and KnowOne (here).
Also the PR includes one small core change: adding a
setSpawnAnimation
function so that the elemental avatars can be spawned with their special spawn animations (as on retail).Steps to test these changes
Fight the BCNM and compare to retail captures