WeakAuras

WeakAuras

200M Downloads

Permanent Auras Sorting "Correctly"

Loloup opened this issue ยท 2 comments

commented

Is your feature request related to a problem? Please describe.

I'm always frustrated when I'm trying to sort auras either in descending or ascending when there's permanent auras in the mix. The game counts permanent auras as having a duration of zero which makes the sorting inconsistent. Sorting buffs by ascending would put the permanent buffs at the very beginning when they should be at the very end.

Describe the solution you'd like

Change permanent auras to have a value of inf instead of 0.

Describe alternatives you've considered

I've managed to go around this problem by making a separate aura that only tracks permanent auras and combining it with a hybrid sort.

commented

eh, i'm not convinced. it's not obvious to me that an aura with no duration actually should be considered "infinite" duration by default, and expressing this in custom sort shouldn't be too difficult to achieve.