Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BCNM] Add remaining WTB avatar BCNMs #6214

Open
wants to merge 1 commit into
base: base
Choose a base branch
from

Conversation

TracentEden2
Copy link
Contributor

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

This is a follow up PR of this PR (which only focused on Ifirit as an initial test case). This PR continues by implementing the remaining WTB avatar BCNMs (final fight and quest itself will come in future PRs).

The implementations are based on the captures by Siknoz and Aether (Levi here, here, here and here, Garuda here, here, here, here, here and here, Ramuh here and here, Shiva here and here, and Titan here and here). These captures give info like status immunities, TP moves, HPs, and so forth.

The main anomalies between the avatars are that Garuda does not use Pred Claws (in 100+ TP moves over 4 captures), while all other avatars do use their lvl 70 skills. Also fixes some small issues with the Ifrit fight that were missed previously, specifically that Ifrit does use Flaming Crush.

Also cloister of gales is missing the ENTERING_THE_BATTLEFIELD_FOR text ID and this PR adds this so the correct text is shown when entering any cloister of gales BCNM.

Steps to test these changes

Fight the (non-Ifrit) WTB avatar fights (use GM char to enter as the quest is not yet available)

@TracentEden TracentEden force-pushed the add_remaining_wtb_avatar_bcnms branch 3 times, most recently from 3c688a6 to 0245dd7 Compare September 4, 2024 19:34
Comment on lines 29 to 51
{
-- avatar
mobIds =
{
{ cloisterOfFrostID.mob.SHIVA_PRIME_WTB },
{ cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 5 },
{ cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 10 },
},

allDeath = function(battlefield, mob)
-- when avatar defeated then all elementals should also die
for i = 1, 4 do
local elemental = GetMobByID(mob:getID() + i)
if elemental and elemental:isAlive() then
elemental:setHP(0)
end
end

battlefield:setStatus(xi.battlefield.status.WON)
end,
},

{
-- elementals
mobIds =
{
{
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 1,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 2,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 3,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 4,
},

{
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 6,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 7,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 8,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 9,
},

{
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 11,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 12,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 13,
cloisterOfFrostID.mob.SHIVA_PRIME_WTB + 14,
},
},
},
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to use names rather than ids here. It should automatically figure out the stride for the mobs and which mobs belong to each battlefield area. I'd try it with one and test it. It should work. If it does work then you can simplify them all!

{
    mobs = { "Shiva_Prime_WTB" }
    allDeath = ...
},
{
    mobs = { "Ice_Elemental" }
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to use names rather than ids here. It should automatically figure out the stride for the mobs and which mobs belong to each battlefield area. I'd try it with one and test it. It should work. If it does work then you can simplify them all!

{
    mobs = { "Shiva_Prime_WTB" }
    allDeath = ...
},
{
    mobs = { "Ice_Elemental" }
}

Thanks, yep, this should now be fixed.

@TracentEden TracentEden force-pushed the add_remaining_wtb_avatar_bcnms branch from 0245dd7 to 787b4a7 Compare September 6, 2024 23:47
@TracentEden TracentEden force-pushed the add_remaining_wtb_avatar_bcnms branch 4 times, most recently from 41f773d to f7f5f3a Compare September 7, 2024 18:02
@TracentEden TracentEden force-pushed the add_remaining_wtb_avatar_bcnms branch from f7f5f3a to 2728316 Compare September 20, 2024 13:37
@TracentEden TracentEden force-pushed the add_remaining_wtb_avatar_bcnms branch 2 times, most recently from 22b6ae8 to 33fe209 Compare September 29, 2024 23:13
Co-Authored-By: overefined <[email protected]>
Co-Authored-By: dallano <[email protected]>
@TracentEden TracentEden force-pushed the add_remaining_wtb_avatar_bcnms branch from 33fe209 to b1bb2cc Compare November 13, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants