Skip to content

Commit

Permalink
Merge pull request #51 from FFXIV-CombatReborn/Delubrum-Reginae-Normal
Browse files Browse the repository at this point in the history
General DRN fixes
  • Loading branch information
LTS-FFXIV authored Apr 20, 2024
2 parents c3acf45 + e675c81 commit 6a09887
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,32 @@ class HotCharge(BossModule module) : Components.ChargeAOEs(module, ActionID.Make
class HeadDown(BossModule module) : Components.ChargeAOEs(module, ActionID.MakeSpell(AID.HeadDown), 2);
class HuntersClaw(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.HuntersClaw), new AOEShapeCircle(8));

class FeralHowl(BossModule module) : Components.Knockback(module)
{
private Actor? _source;

public override IEnumerable<Source> Sources(int slot, Actor actor)
{
if (_source != null)
yield return new(_source.Position, 30, _source.CastInfo!.NPCFinishAt);
}

public override void OnCastStarted(Actor caster, ActorCastInfo spell)
{
if ((AID)spell.Action.ID is AID.FeralHowl)
_source = caster;
}

public override void OnCastFinished(Actor caster, ActorCastInfo spell)
{
if ((AID)spell.Action.ID is AID.FeralHowl)
{
_source = null;
++NumCasts;
}
}
}

[ModuleInfo(BossModuleInfo.Maturity.WIP, Contributors = "CombatReborn Team", GroupType = BossModuleInfo.GroupType.CFC, GroupID = 760, NameID = 9751)]
public class DRN2Dahu(WorldState ws, Actor primary) : BossModule(ws, primary, new ArenaBoundsCircle(new(82, 138), 30))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public DRN2DahuStates(BossModule module) : base(module)
.ActivateOnEnter<HeadDown>()
.ActivateOnEnter<FirebreatheRotating>()
.ActivateOnEnter<Shockwave>()
.ActivateOnEnter<FeralHowl>()
.ActivateOnEnter<HuntersClaw>();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class OptimalPlaySword(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.OptimalPlaySword), new AOEShapeCircle(10));
class OptimalPlayShield(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.OptimalPlayShield), new AOEShapeDonut(5, 60));
class OptimalPlayCone(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.OptimalPlayCone), new AOEShapeCone(60, 135.Degrees()));
//class OptimalPlayCone(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.OptimalPlayCone), new AOEShapeCone(60, 135.Degrees()));

class PawnOff(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.PawnOffReal), new AOEShapeCircle(20));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public enum AID : uint
ShieldOmen = 22513, // Knight->self, 3.0s cast, single-target
SwordOmen = 22512, // Knight->self, 3.0s cast, single-target

OptimalPlayCone = 22516, // Helper->self, 5.0s cast, single-target
OptimalPlay = 22516, // Helper->self, 5.0s cast, single-target
OptimalPlayShield = 22515, // Knight->self, 6.0s cast, range ?-60 donut
OptimalPlaySword = 22514, // Knight->self, 6.0s cast, range 10 circle

Expand Down Expand Up @@ -86,9 +86,9 @@ public enum SID : uint
TheHeatOfBattle = 365, // none->player, extra=0xA
Transcendent = 418, // none->player, extra=0x0
TwiceComeRuin = 2485, // Knight/AetherialBolt/Helper->player, extra=0x1
Unknown1 = 2056, // none->GunTurret, extra=0xE1
Unknown2 = 2195, // AetherialWard->AetherialWard, extra=0x101/0x100
Unknown3 = 2160, // none->30B7, extra=0x2129
GunTurrentStatus = 2056, // none->GunTurret, extra=0xE1
WardStatus = 2195, // AetherialWard->AetherialWard, extra=0x101/0x100
AllyStatus = 2160, // none->30B7, extra=0x2129
Weakness = 43, // none->player, extra=0x0
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public DRN3QueensGuardStates(BossModule module) : base(module)
TrivialPhase()
.ActivateOnEnter<OptimalPlaySword>()
.ActivateOnEnter<OptimalPlayShield>()
.ActivateOnEnter<OptimalPlayCone>()
//.ActivateOnEnter<OptimalPlayCone>()
.ActivateOnEnter<CoatOfArms>()
.ActivateOnEnter<AboveBoard>()
.ActivateOnEnter<PawnOff>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace BossMod.Shadowbringers.Foray.DelubrumReginae.Normal.DRN4Phantom;

class UndyingHatred(BossModule module) : Components.KnockbackFromCastTarget(module, ActionID.MakeSpell(AID.UndyingHatred), 30, kind: Kind.DirForward);

[ModuleInfo(BossModuleInfo.Maturity.WIP, Contributors = "CombatReborn Team", GroupType = BossModuleInfo.GroupType.CFC, GroupID = 760, NameID = 9755)]
public class DRN4Phantom(WorldState ws, Actor primary) : BossModule(ws, primary, new ArenaBoundsSquare(new(202, -370), 24));
public class DRN4Phantom(WorldState ws, Actor primary) : BossModule(ws, primary, new ArenaBoundsSquare(new(202, -370), 24));
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public enum AID : uint
CreepingMiasmaRest = 22438, // BozjanPhantom->self, 1.0s cast, range 50 width 12 rect
MaledictionOfAgony = 22447, // Boss->self, 4.0s cast, range 70 circle
Summon = 22443, // Boss->self, 3.0s cast, single-target, visual (go untargetable and spawn adds)
UndyingHatred = 22444, // StuffyWraith->self, 6.0s cast, range 60 width 48 rect
UndyingHatred = 22444, // StuffyWraith->self, 6.0s cast, range 60 width 48 rect knockback
Transference = 22445, // Boss->location, no cast, single-target, teleport
VileWave = 22449, // Boss->self, 6.0s cast, range 45 120-degree cone
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class DRN4PhantomStates : StateMachineBuilder
public DRN4PhantomStates(BossModule module) : base(module)
{
TrivialPhase()
.ActivateOnEnter<UndyingHatred>()
.ActivateOnEnter<Miasma>();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ public DRN6QueenStates(BossModule module) : base(module)
.ActivateOnEnter<JudgmentBlade>()
.ActivateOnEnter<HeavensWrathAOE>()
.ActivateOnEnter<HeavensWrathKnockback>()
.ActivateOnEnter<QueensWill>()
.ActivateOnEnter<QueensEdict>()
//.ActivateOnEnter<Chess>()
//.ActivateOnEnter<QueensWill>()
//.ActivateOnEnter<QueensEdict>()
.ActivateOnEnter<TurretsTour>()
.ActivateOnEnter<AboveBoard>()
.ActivateOnEnter<PawnOff>();
Expand Down

0 comments on commit 6a09887

Please sign in to comment.