Skip to content

Commit

Permalink
Merge pull request #496 from FFXIV-CombatReborn/mergeWIP
Browse files Browse the repository at this point in the history
secret cladoselache update
  • Loading branch information
CarnifexOptimus authored Dec 11, 2024
2 parents 4d6669a + 976aeb5 commit 11c1ab8
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ public enum OID : uint
Boss = 0x3027, //R=2.47
SecretShark = 0x3028, //R=3.0
KeeperOfKeys = 0x3034, // R3.23
FuathTrickster = 0x3033, // R0.75
Helper = 0x233C
}

Expand Down Expand Up @@ -117,13 +118,14 @@ public SecretCladoselacheStates(BossModule module) : base(module)
[ModuleInfo(BossModuleInfo.Maturity.Verified, Contributors = "Malediktus", GroupType = BossModuleInfo.GroupType.CFC, GroupID = 745, NameID = 9778)]
public class SecretCladoselache(WorldState ws, Actor primary) : THTemplate(ws, primary)
{
public static readonly uint[] All = [(uint)OID.Boss, (uint)OID.SecretShark, (uint)OID.KeeperOfKeys];
private static readonly uint[] bonusAdds = [(uint)OID.FuathTrickster, (uint)OID.KeeperOfKeys];
public static readonly uint[] All = [(uint)OID.Boss, (uint)OID.SecretShark, .. bonusAdds];

protected override void DrawEnemies(int pcSlot, Actor pc)
{
Arena.Actor(PrimaryActor);
Arena.Actors(Enemies(OID.SecretShark));
Arena.Actors(Enemies(OID.KeeperOfKeys), Colors.Vulnerable);
Arena.Actors(Enemies(bonusAdds), Colors.Vulnerable);
}

protected override void CalculateModuleAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints)
Expand All @@ -133,6 +135,7 @@ protected override void CalculateModuleAIHints(int slot, Actor actor, PartyRoles
var e = hints.PotentialTargets[i];
e.Priority = (OID)e.Actor.OID switch
{
OID.FuathTrickster => 3,
OID.KeeperOfKeys => 2,
OID.SecretShark => 1,
_ => 0
Expand Down

0 comments on commit 11c1ab8

Please sign in to comment.