找回密码
 立即注册

手机短信,快捷登录

搜索

Aeep | Unit Frames

[复制链接]
 楼主| 发表于 2023-6-12 08:43:18 | 显示全部楼层 |阅读模式
Aeep | Unit Frames

<hr>
Disclaimer

I'm in no way shape or form an addon creator. I made this WeakAura for my own use and to learn a bit more about the WoW API but thought I'd share it here for people to use.

Some highlights


  • Fully interactive unit frames (left, right click).

    • The buttons are not attached to the WeakAuras themselves but hidden behind them, so moving the unit frames requires you to manipulate the position of the underlying menus as well.
    • Why? Because attaching frames to WeakAura frames / regions is not a good idea (link in notes).


  • Pet XP bar.
  • Pet HP bar changes color based on happiness level.
  • Pet Power bar displays the pets damage modifier.
  • Druid mana bar while shapeshifted
  • Colored health bars based on class (if player) or reaction if (non-player)

Configuration

Custom options


  • Hide default unit frames (default true)
  • Hide default cast bar (default true)
  • Class colored health bars (default false)

Other


  • There are 4 invisible button frames you'll need to move manually if you intend to change the placement of any of the unit frames. To modify the position check the Actions of  the Player Health, Target Health, Pet Health and Target of Target Health frames. Modify the X and Y values in each of the frames' SetPoint function to the amount of pixels you've moved each unit frame. This can be a bit tricky, but if you look at the X and Y values of both the frame and the invisible frame beforehand you'll understand how much you need to change in each direction.

From the screenshots


  • The font used in the screenshot is Gilroy Bold. If you don't have it you can select any font you'd like by selecting the Group then click the Display tab and globally change the font for Text 1 and Text 2. I've used this small addon to add additional fonts to the game https://www.curseforge.com/wow/addons/shared-media-additional-fonts.
  • I use masque to skin icons with the skin Caith.

Other auras

<hr>
You can combine these auras with the unit frames (see Collection)


  • Aeep | Target Buffs https://wago.io/RVgwjSUJ0
  • Aeep | Target Debuffs https://wago.io/xr3AuPf6Y

Notes

<hr>
https://www.reddit.com/r/WowUI/comments/csezsb/help_clickable_weakaura_unitframes/exejxt7?utm_source=share&utm_medium=web2x&context=3
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|魔兽世界玩家社区APP官网 ( 鄂ICP备20007009号-6 )

GMT+8, 2025-8-16 18:20 , Processed in 0.144335 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表