Chillu1/ModiBuff

Aura & AoE (targeting)

Closed this issue · 1 comments

Problem

The library is designed around a single target. This is an issue for both Aura and AoE effects.

Auras are interval based, aka applying a modifier on targets every X seconds.
And we have no good way to feed those targets currently.

Possible Solutions

  • We either need to store a reference to all the aura targets somewhere in modifier (ex. TargetComponent.Targets instead of Target, or separate collection for AuraTargets).

    • This is bad because ideally we would avoid extra complexity with multiple targets.
  • Or use an outside timing system.

    • This is bad because we wouldn't be using the TimeComponents (interval & duration)

Both are not ideal.

Aura modifiers problem fixed with MultiTargetComponent