-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
namespace BossMod.Endwalker.Ultimate.TOP | ||
{ | ||
class P6CosmoMeteorPuddles : Components.SelfTargetedAOEs | ||
{ | ||
public P6CosmoMeteorPuddles() : base(ActionID.MakeSpell(AID.CosmoMeteorAOE), new AOEShapeCircle(10)) { } | ||
} | ||
|
||
class P6CosmoMeteorAddComet : Components.Adds | ||
{ | ||
public P6CosmoMeteorAddComet() : base((uint)OID.CosmoComet) { } | ||
} | ||
|
||
class P6CosmoMeteorAddMeteor : Components.Adds | ||
{ | ||
public P6CosmoMeteorAddMeteor() : base((uint)OID.CosmoMeteor) { } | ||
} | ||
|
||
class P6CosmoMeteorSpread : Components.UniformStackSpread | ||
{ | ||
public int NumCasts { get; private set; } | ||
|
||
public P6CosmoMeteorSpread() : base(0, 5) { } | ||
|
||
public override void Init(BossModule module) => AddSpreads(module.Raid.WithoutSlot(true)); | ||
|
||
public override void OnEventCast(BossModule module, Actor caster, ActorCastEvent spell) | ||
{ | ||
if ((AID)spell.Action.ID == AID.CosmoMeteorSpread) | ||
++NumCasts; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters