From b14d23d8209cfc749261d55a30b9dae1ae9906e4 Mon Sep 17 00:00:00 2001 From: CarnifexOptimus <156172553+CarnifexOptimus@users.noreply.github.com> Date: Mon, 21 Oct 2024 07:32:43 +0200 Subject: [PATCH] slight the vault improvement --- .../Modules/Heavensward/Dungeon/D04TheVault/D043SerCharibert.cs | 2 ++ .../Shadowbringers/Dungeon/D05MtGulg/D055ForgivenObscenity.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/BossMod/Modules/Heavensward/Dungeon/D04TheVault/D043SerCharibert.cs b/BossMod/Modules/Heavensward/Dungeon/D04TheVault/D043SerCharibert.cs index a76b8a3350..1cf13b55a8 100644 --- a/BossMod/Modules/Heavensward/Dungeon/D04TheVault/D043SerCharibert.cs +++ b/BossMod/Modules/Heavensward/Dungeon/D04TheVault/D043SerCharibert.cs @@ -49,6 +49,7 @@ class AltarPyre(BossModule module) : Components.RaidwideCast(module, ActionID.Ma class HeavensflameAOE(BossModule module) : Components.LocationTargetedAOEs(module, ActionID.MakeSpell(AID.HeavensflameAOE), 5); class HolyChain(BossModule module) : Components.Chains(module, (uint)TetherID.HolyChain, ActionID.MakeSpell(AID.HolyChainPlayerTether)); class TurretTour(BossModule module) : Components.PersistentVoidzone(module, 2, m => m.Enemies(OID.DawnKnight).Concat(m.Enemies(OID.DuskKnight)).Where(x => x.ModelState.ModelState == 8), 10); +class TurretTourHint(BossModule module) : Components.PersistentVoidzone(module, 2, m => m.Enemies(OID.DawnKnight).Concat(m.Enemies(OID.DuskKnight)).Where(x => x.ModelState.ModelState != 8 && !x.Position.AlmostEqual(module.Center, 10)), 3); class D043SerCharibertStates : StateMachineBuilder { @@ -60,6 +61,7 @@ public D043SerCharibertStates(BossModule module) : base(module) .ActivateOnEnter() .ActivateOnEnter() .ActivateOnEnter() + .ActivateOnEnter() .ActivateOnEnter(); } } diff --git a/BossMod/Modules/Shadowbringers/Dungeon/D05MtGulg/D055ForgivenObscenity.cs b/BossMod/Modules/Shadowbringers/Dungeon/D05MtGulg/D055ForgivenObscenity.cs index cefe4c6bd9..1819bee345 100644 --- a/BossMod/Modules/Shadowbringers/Dungeon/D05MtGulg/D055ForgivenObscenity.cs +++ b/BossMod/Modules/Shadowbringers/Dungeon/D05MtGulg/D055ForgivenObscenity.cs @@ -76,6 +76,8 @@ public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignme var inRect = Module.Enemies(OID.Rings).FirstOrDefault(x => x.Position.InRect(position, 20 * o.Rotation.ToDirection(), Radius)); if (inRect != null) forbidden.Add(ShapeDistance.Capsule(o.Position, o.Rotation.ToDirection(), (position - inRect.Position).Length(), Radius)); + else + forbidden.Add(ShapeDistance.Circle(o.Position, Radius)); } hints.AddForbiddenZone(p => forbidden.Select(f => f(p)).Min()); }