Skip to content

Commit

Permalink
Merge pull request #54 from CarnifexOptimus/slave_lotsofchanges
Browse files Browse the repository at this point in the history
Caching improvements
  • Loading branch information
CarnifexOptimus authored Apr 23, 2024
2 parents 564553d + d7f3163 commit ef83f64
Show file tree
Hide file tree
Showing 12 changed files with 7,789 additions and 139 deletions.
261 changes: 130 additions & 131 deletions BossMod/BossModule/ArenaBounds.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Hieroglyphika(BossModule module) : Components.GenericAOEs(module)
private static readonly WPos[] StartingCoords = [new(-963, 939), new(-963, 963), new(-939, 927), new(-951, 939), new(-951, 927), new(-939, 963), new(-927, 939), new(-939, 951), new(-939, 939), new(-927, 963), new(-963, 951), new(-927, 951), new(-951, 951), new(-963, 927)];
private byte currentIndex;

public override IEnumerable<AOEInstance> ActiveAOEs(int slot, Actor actor) => _aoes.Take(14);
public override IEnumerable<AOEInstance> ActiveAOEs(int slot, Actor actor) => _aoes;

public override void OnEventEnvControl(byte index, uint state)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Hieroglyphika(BossModule module) : Components.GenericAOEs(module)
private readonly List<AOEInstance> _aoes = [];
private static readonly WPos[] StartingCoords = [new(951, -933), new(939, -933), new(951, -957), new(939, -957), new(927, -933), new(963, -957), new(963, -933), new(951, -945), new(939, -945), new(927, -921), new(939, -921), new(927, -945), new(963, -945), new(963, -921)];

public override IEnumerable<AOEInstance> ActiveAOEs(int slot, Actor actor) => _aoes.Take(14);
public override IEnumerable<AOEInstance> ActiveAOEs(int slot, Actor actor) => _aoes;

public override void OnEventIcon(Actor actor, uint iconID)
{
Expand Down
Loading

0 comments on commit ef83f64

Please sign in to comment.