TellMeWhen

TellMeWhen

24M Downloads

[CF 1301] For Bar/BarV, add an option to change the data source to the icon's stacks

tmw-issue-import opened this issue ยท 2 comments

commented

This would allow for interesting things like a bar that shows how many runes are available.


Posted by CurseForge user Cybeloras | Imported from CurseForge issue #1301 | Raw

commented

Yeah I've been toying with this myself for SotR charges. I'm assuming this would be a checkbox in the icon configuration, and then when checking duration check stacks instead?

 

I just noticed that the example you gave used runes rather than spell - this seems like actually a non-trivial change since currently runes are tracked separately rather than as a single resource - would this not require a new resource type? Or am I missing something?

 

If that's your direction I can work on an implementation and get some feedback


Edited Sep 26, 2018

Posted by CurseForge user ariehg

commented

More questions!

 

For cooldown bars - I can see that the duration value comes from TMW:GetSpells / TMW.C.SpellSet - is it a good idea to add "Max Charges" to SpellSet? It will make the rest of the process easier (and also might piggyback on this ticket) but might also be a bit niche. However if I'm not adding it there it might be that the data fetching will be much less optimized. 


Posted by CurseForge user ariehg