Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanguard Boss 3 Missing AoEs fix #449

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ public enum IconID : uint
}

class Electrothermia(BossModule module) : Components.RaidwideCast(module, ActionID.MakeSpell(AID.Electrothermia));
class SoulbaneSaber(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SoulbaneSaberBurst), new AOEShapeRect(20, 20));
class SoulbaneSaber(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SoulbaneSaber), new AOEShapeRect(20, 2));
class SoulbaneSaberBurst(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SoulbaneSaberBurst), new AOEShapeRect(20, 20));
class SaberRush(BossModule module) : Components.SingleTargetCast(module, ActionID.MakeSpell(AID.SaberRush));
class SoulbaneShock(BossModule module) : Components.SpreadFromCastTargets(module, ActionID.MakeSpell(AID.SoulbaneShock), 5);
class BossP2(BossModule module) : Components.Adds(module, (uint)OID.BossP2);
Expand Down Expand Up @@ -83,12 +84,14 @@ public override void OnCastFinished(Actor caster, ActorCastInfo spell)
}
}

class SlitherbaneForeguard(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SlitherbaneForeguardAOE), new AOEShapeCone(20, 90.Degrees()));
class SlitherbaneRearguard(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SlitherbaneRearguardAOE), new AOEShapeCone(20, 90.Degrees()));
class SlitherbaneForeguard(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SlitherbaneForeguard), new AOEShapeRect(20, 2));
class SlitherbaneForeguardAoE(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SlitherbaneForeguardAOE), new AOEShapeCone(20, 90.Degrees()));
class SlitherbaneRearguard(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SlitherbaneRearguard), new AOEShapeRect(20, 2));
class SlitherbaneRearguardAoE(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SlitherbaneRearguardAOE), new AOEShapeCone(20, 90.Degrees()));
class SlitherbaneBurst(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.SlitherbaneBurst), new AOEShapeRect(20, 20))
{
private readonly SlitherbaneForeguard? _foreguard = module.FindComponent<SlitherbaneForeguard>();
private readonly SlitherbaneRearguard? _rearguard = module.FindComponent<SlitherbaneRearguard>();
private readonly SlitherbaneForeguardAoE? _foreguard = module.FindComponent<SlitherbaneForeguardAoE>();
private readonly SlitherbaneRearguardAoE? _rearguard = module.FindComponent<SlitherbaneRearguardAoE>();

public override IEnumerable<AOEInstance> ActiveAOEs(int slot, Actor actor)
{
Expand All @@ -105,12 +108,15 @@ public D043ZanderSnakeskinnerStates(BossModule module) : base(module)
TrivialPhase()
.ActivateOnEnter<Electrothermia>()
.ActivateOnEnter<SoulbaneSaber>()
.ActivateOnEnter<SoulbaneSaberBurst>()
.ActivateOnEnter<SaberRush>()
.ActivateOnEnter<SoulbaneShock>()
.ActivateOnEnter<BossP2>()
.ActivateOnEnter<Screech>()
.ActivateOnEnter<ShadeShot>()
.ActivateOnEnter<SynthesleanSlither>()
.ActivateOnEnter<SlitherbaneForeguardAoE>()
.ActivateOnEnter<SlitherbaneRearguardAoE>()
.ActivateOnEnter<SlitherbaneForeguard>()
.ActivateOnEnter<SlitherbaneRearguard>()
.ActivateOnEnter<SlitherbaneBurst>();
Expand Down
Loading