Skip to content

Commit

Permalink
Merge pull request #68 from FFXIV-CombatReborn/V01SS-second-path
Browse files Browse the repository at this point in the history
arena corrections for Geryon and misc
  • Loading branch information
LTS-FFXIV authored May 2, 2024
2 parents 904c9a5 + bc49dfc commit 4b4ab9e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions BossMod/Modules/Endwalker/Variant/V01SS/V011Geryon/V011Geryon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,28 @@ class ColossalCharge2(BossModule module) : Components.ChargeAOEs(module, ActionI
class ExplosionAOE(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.ExplosionAOE), new AOEShapeCircle(15));
class ExplosionDonut(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.ExplosionDonut), new AOEShapeDonut(5, 17));

class ColossalSlam(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.ColossalSlam), new AOEShapeCone(60, 60.Degrees()));
class ColossalSlam(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.ColossalSlam), new AOEShapeCone(60, 30.Degrees()));
class ColossalSwing(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.ColossalSwing), new AOEShapeCone(60, 180.Degrees()));

class SubterraneanShudder(BossModule module) : Components.RaidwideCast(module, ActionID.MakeSpell(AID.SubterraneanShudder));

[ModuleInfo(BossModuleInfo.Maturity.WIP, Contributors = "CombatReborn Team", PrimaryActorOID = (uint)OID.Boss, GroupType = BossModuleInfo.GroupType.CFC, GroupID = 868, NameID = 11442)]
public class V011Geryon(WorldState ws, Actor primary) : BossModule(ws, primary, new ArenaBoundsSquare(new(183, 176.99f), 19.5f)) //left path -213, 100 // middle path 0, 0
public class V011Geryon(WorldState ws, Actor primary) : BossModule(ws, primary, new ArenaBoundsSquare(new(183, 176.99f), 19.5f))
{
protected override void DrawEnemies(int pcSlot, Actor pc)
{
Arena.Actor(PrimaryActor, ArenaColor.Enemy);
Arena.Actors(Enemies(OID.PowderKegRed), ArenaColor.Enemy);
Arena.Actors(Enemies(OID.PowderKegBlue), ArenaColor.Enemy);
}

protected override void UpdateModule()
{
if (Enemies(OID.Boss).Any(e => e.Position.AlmostEqual(new(-213, -100), 50)))
Arena.Bounds = new ArenaBoundsSquare(new(-213, 100), 19.5f);
if (Enemies(OID.Boss).Any(e => e.Position.AlmostEqual(new(0, 0), 50)))
Arena.Bounds = new ArenaBoundsSquare(new(0, 0), 19.5f);
if (Enemies(OID.Boss).Any(e => e.Position.AlmostEqual(new(183, 176.99f), 50)))
Arena.Bounds = new ArenaBoundsSquare(new(183, 176.99f), 19.5f); //Note: the arena doesn't seem to be a perfect circle, but this seems good enough
}
}

0 comments on commit 4b4ab9e

Please sign in to comment.