Skip to content

Commit

Permalink
UCOB done.
Browse files Browse the repository at this point in the history
  • Loading branch information
awgil committed Mar 28, 2024
1 parent 68fe828 commit da3eb96
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 53 deletions.
21 changes: 21 additions & 0 deletions BossMod/Modules/Stormblood/Ultimate/UCOB/P5Enrage.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
namespace BossMod.Stormblood.Ultimate.UCOB
{
class P5Enrage : Components.UniformStackSpread
{
public int NumCasts;

public P5Enrage() : base(0, 4) { }

public override void OnCastStarted(BossModule module, Actor caster, ActorCastInfo spell)
{
if ((AID)spell.Action.ID == AID.Enrage)
AddSpreads(module.Raid.WithoutSlot(true), spell.NPCFinishAt);
}

public override void OnEventCast(BossModule module, Actor caster, ActorCastEvent spell)
{
if ((AID)spell.Action.ID is AID.Enrage or AID.EnrageAOE)
++NumCasts;
}
}
}
3 changes: 3 additions & 0 deletions BossMod/Modules/Stormblood/Ultimate/UCOB/UCOBEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public enum AID : uint
BahamutsFavorP4 = 9960, // Helper->self, no cast, ???, visual (buff twin/nael with damage up)
MegaflareRaidwide = 9914, // NaelDeusDarnus->self, 5.0s cast, range 80+R circle, raidwide
TwinFury = 9907, // Twintania->self, 3.0s cast, single-target, enrage
WhiteFury = 9924, // NaelDeusDarnus->self, 3.0s cast, single-target, enrage

Teraflare = 9961, // BahamutPrime->self, no cast, ???, kills everyone during phase transition
FlamesOfRebirth = 9970, // Phoenix->self, no cast, range 80+R circle, revives and buffs everyone during phase transition
Expand All @@ -110,6 +111,8 @@ public enum AID : uint
Exaflare = 9967, // BahamutPrime->self, 4.0s cast, single-target, visual (exaflares)
ExaflareFirst = 9968, // Helper->self, 4.0s cast, range 6 circle
ExaflareRest = 9969, // Helper->self, no cast, range 6 circle
Enrage = 9965, // BahamutPrime->player, 10.0s cast, range 4 circle, enrage spread
EnrageAOE = 9966, // BahamutPrime->player, no cast, range 4 circle, enrage spread second+ casts
};

public enum SID : uint
Expand Down
Loading

0 comments on commit da3eb96

Please sign in to comment.