[CF 1624] Track healer/s in party/raid mana
tmw-issue-import opened this issue ยท 4 comments
Hi, thank you for a great addon.
Is it possible to setup an icon that will show when ever healer/s in a party/raid is below, lets say, 50% mana?
Posted by CurseForge user bullfrog124 | Imported from CurseForge issue #1624 | Raw
Unit Condition Icon > Who to Watch > Party 1-4 > Unit Conditions > Unit Group Role > Unit > Healer > Mana Percent > Unit > Percent > Notifications
This appear to work but I am uncertain if it is working as intended and I feel like it might glitch out at times.
^1^T^SUnit^Sparty~`1-4 ^SType^Sunitcondition ^SUnitConditions^T ^N1^T ^SType^SROLE2 ^SBitFlags^T ^SHEALER^B ^t^t^N2^T ^SType^SMANA ^SOperator^S< ^SLevel^N95 ^t^Sn^N2 ^t^SEvents^T ^N1^T ^SType^SAnimations ^SOnlyShown^B ^SAnimation^SACTVTNGLOW ^SEvent^SOnShow ^SInfinite^B ^t^Sn^N1 ^t^SEnabled^B ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N85403^S~`~| ^Sicon^^
Posted by CurseForge user bullfrog124
Every - every frame. With one frame you can check only 1 of them at same time (I mean any one unit which has been return true). Better create your frames with 2 types, for raid with raid1-40 untis and for party with party1-4 units because party check only your local current group.
Edited Dec 6, 2018
Posted by CurseForge user cordankos
Sure, thanks. If I understand you correctly I suppose I could then use a meta icon.
If this is indeed how you would go about it then that is great. I have yet to test it probably tho.
Do you happen to understand the use case for group 1-40?
Posted by CurseForge user bullfrog124
^1^T^SGUID^STMW:group:1S2woXmhPC_D ^SPoint^T ^Sy^F6122078595973120 ^f-46^Spoint ^SBOTTOM^SrelativePoint ^SBOTTOM^Sx ^F8197954401730560^f-46 ^t^SIcons^T ^N1^T ^SUnit^Sparty1-4;~`player ^SType^Sunitcondition ^SConditions^T ^N1^T ^SType^SGROUP2 ^SBitFlags^N2 ^t^Sn^N1 ^t^SUnitConditions^T ^N1^T ^SType^SROLE2 ^SBitFlags^T ^SHEALER^B ^t^t^N2^T ^SType^SMANA ^SOperator^S< ^SLevel^N95 ^t^Sn^N2 ^t^SGUID^STMW:icon:1S2woXmjAnaL ^SEvents^T ^N1^T ^SType^SAnimations ^SOnlyShown^B ^SAnimation^SACTVTNGLOW ^SEvent^SOnShow ^SInfinite^B ^t^Sn^N1 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N2^S[Unit]~J [Name] ^t^t^t^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^SFakeHidden^B ^SEnabled^B ^t^N2^T ^SUnit^Sraid1-40 ^SType^Sunitcondition ^SUnitConditions^T ^N1^T ^SType^SROLE2 ^SBitFlags^T ^SHEALER^B ^t^t^N2^T ^SType^SMANA ^SOperator^S< ^SLevel^N95 ^t^Sn^N2 ^t^SGUID^STMW:icon:1S2woXmlfmpj ^SEvents^T ^N1^T ^SType^SAnimations ^SOnlyShown^B ^SAnimation^SACTVTNGLOW ^SEvent^SOnShow ^SInfinite^B ^t^Sn^N1 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N2^S[Unit]~J [Name] ^t^t^t^SEnabled^B ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^SFakeHidden^B ^SConditions^T ^N1^T ^SType^SGROUP2 ^SBitFlags^N4 ^t^Sn^N1 ^t^t^N3^T ^SType^Smeta ^SIcons^T ^N1^STMW:icon:1S2woXmjAnaL ^N2^STMW:icon:1S2woXmlfmpj ^t^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^SEnabled^B ^t^N4^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N5^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N6^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N7^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N8^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N9^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N10^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N11^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N12^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N13^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N14^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N15^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N16^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N17^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N18^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N19^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N20^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N21^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N22^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^t^t^N85602^S~`~| ^Sgroup^N12 ^^
Posted by CurseForge user cordankos