WEAKAURA

Perfectly Preserved Cake v1.2

Updated Jun 19th 2017 WoW 7.2.5 User Zuggie Views 21,031 Comments 15 Stars 13 Collections 4 Link https://wago.io/VJrWeZmvz
General UtilityHealingPvE UtilityDungeons



Description:
Simple WeakAura to display how many people are in 10 yards range for your trinket use.

Updates
v1.3
Corrected an issue, causing colour changing not to work if used outside combat.

v1.2
- Changed "CAKE" variable into "aura_env" for convenience.
- Aura now exclude the player and remains read as long as there are less than 5 players near (shows 0 if no friendlies are in range).
- Aura should now correctly change color when enough people are in range and when the trinket is not on cooldown.

v1.1
- Fixed an issue where player counter would display 0 after cooldown ended.

Features
- Count number of player, including yourself, in 10 yards range
- Turns red if less than 5 people are in range
- Add counter and desaturates the icon when on cooldown
- Only shows in combat if in a party or raid


IMPORTANT
If you change the WeakAura name, make sure to go into Display -> Custom Function and change the 3 places it says "Cake" to your new WeakAura name.

E.g. Changing WeakAura name to NomNomCake, you would change them to look like WeakAuras.regions["NomNomCake"]

This is to make the colors work correctly

This Weak Aura includes custom functions.


Preview

Comments
Posted by Zuggie 4 months ago. Reply 2017-06-14 15:39
Weakaura has been updated to v1.2. Changes are in the description.
Posted by ThorTue 6 months ago. Reply 2017-05-01 12:04
Finally don't work. :s
Posted by ThorTue 6 months ago. Reply 2017-04-30 21:29
@Shasta > Try in Graphic option search this line : "WeakAuras.regions["Cake"].region.icon:SetDesaturated(1)", try to change with "WeakAuras.regions["Cake"].region.icon:SetDesaturated(0)"
Posted by Shasta 6 months ago. Reply 2017-04-28 07:42
Also i would like to know what i need to change in the custom text to make it so i can see the cake WA even though i'm alone and not in a party/raid. thanks!
Posted by Shasta 6 months ago. Reply 2017-04-28 07:40
I updated WA recently and noticed that now the Cake icon won't change colors correctly, once you use the cake and it's CD gets triggered it'll turn gray, but after the CD refreshes the cake stays gray, the number pointing the ammount of people in 10 yards works fine but since the cake is gray sometimes i don't realize it's off CD.
Posted by Alluka 7 months ago. Reply 2017-03-20 02:18
@Fenrisar ty
Posted by Fenrisar 7 months ago. Reply 2017-03-15 15:16
@Alluka Easier to do in game. Find line 38 on the aspect and where it says " < 5" change to "< 6"
Posted by Alluka 7 months ago. Reply 2017-03-12 13:47
@Fenrisar how do you change the initial player count?
Posted by Fenrisar 8 months ago. Reply 2017-02-26 18:54
Hey. The way cake works is that it shield you + 5 players, so I changed my initial player count to be 0. It would be great if you could update this
Posted by rivers 9 months ago. Reply 2017-02-02 20:57
Ah, looks like I was mistaken. Never mind on the fiery breath :)
Posted by rivers 9 months ago. Reply 2017-02-02 20:55
Also, if I'm not mistaken, spellid 90067 refers to a version of fiery breath with unlimited range. I'm not sure if wowhead is correct on that one, but that seems like IsItemInRange(90067,unit) would return true for any unitID.
Posted by rivers 9 months ago. Reply 2017-02-02 20:51
Hello; you can use aura_env.id (or e.id i guess) as an alias for the name of your weakaura, so that people can change its name freely.
Posted by Zuggie 9 months ago. Reply 2017-01-26 20:32
@fratzi I'll look into it. Has some minor bugs that needs fixing
Posted by fratzi 9 months ago. Reply 2017-01-26 18:45
Maybe some code from Cloudburst Totem could help
Posted by fratzi 9 months ago. Reply 2017-01-26 18:05
A counter how much the cake absorbed would be awesome! :)