Commit Graph

192 Commits

Author SHA1 Message Date
shagu 1a83838a0d nameplates: read off-tanks from raid frame list 2025-06-17 08:59:18 +02:00
shagu 4283ad1a8e nameplates: make sure target unitname exists 2025-06-12 15:53:10 +02:00
shagu e902da1413 nameplates: add new option to define offtanks 2025-06-12 15:27:32 +02:00
shagu 5fd3ff5817 nameplates: add support for channel spell cast bars 2025-06-01 10:10:22 +02:00
shagu ab2a1330fb nameplates: cache own debuff on plate if enabled 2025-05-25 18:23:47 +02:00
shagu 51924f0ca0 nameplates: add experimental option to show own debuffs 2025-05-25 14:28:17 +02:00
shagu b78cc4179f nameplates: align castbar texture to healthbar 2025-05-20 08:59:13 +02:00
shagu b20252ccde nameplates: use predefined colors for borders 2025-04-20 14:16:35 +02:00
shagu aaa3a584aa nameplates: add option to disable infight text color 2025-04-07 09:20:33 +02:00
shagu 89894de1b9 nameplates: use tick events only as fallback 2025-03-30 14:43:28 +02:00
shagu 5f37991bbf nameplates: only update on existing debuffs 2025-03-30 12:07:39 +02:00
shagu 02efde58ec nameplates: improve handling of debuff caches 2025-03-30 00:09:39 +01:00
shagu acafc46e09 nameplates: slightly decrease update interval 2025-03-30 00:04:35 +01:00
shagu ab6b51c04f nameplates: replace cooldown animation frames on vanilla 2025-03-29 23:55:37 +01:00
shagu e813f32a7e nameplates: only show stun border if no target detected 2025-02-23 09:07:46 +01:00
shagu 83aeb1a236 nameplates: make each combatstate option individual 2025-02-22 09:13:59 +01:00
shagu f5836f4cbd nameplates: add options to customize combat colors 2025-02-17 20:46:32 +01:00
shagu 8a1c2fe8ba nameplates: unify all combat colors in one table 2025-02-17 20:27:41 +01:00
shagu c05e46684c nameplates: combat state bar colors
* red: attacking player
* yellow: attacking other
* blue: no target (npc only)
* none: out of combat

This only works if super-wow is enabled.
2025-02-17 20:01:21 +01:00
shagu 653a7d15e4 nameplates: enforce clickthrough settings on update 2025-02-15 17:10:11 +01:00
shagu 90cc1a1ba6 nameplates: add option for vertical healthbars 2025-01-31 21:55:47 +01:00
shagu 0e84077bd1 nameplates: keep mouse events disabled on parent 2024-12-26 00:09:29 +01:00
shagu 0b5407c5a8 nameplates: always set mouse state for both variants 2024-12-25 23:06:35 +01:00
shagu 06ddbcd34c nameplates: add option to adjust debuff icon offset 2024-11-27 16:13:42 +01:00
shagu 1d3b2d0d33 nameplates: align offset of both debuff positions 2024-11-27 16:08:17 +01:00
shagu ca87f7148f nameplates: show unit tapping state with superwow 2024-11-08 08:55:00 +01:00
shagu 7c4c17fc1f nameplates: always use parent as nameplate anchor 2024-11-04 19:42:58 +01:00
shagu c7008abf05 nameplates: use single event listener for all plates 2024-11-03 11:54:06 +01:00
shagu 667dfc226d nameplates: use superwow unit guid as unitstr 2024-11-03 11:09:00 +01:00
shagu 979f9e28e0 nameplates: only change parent sizing when required 2024-11-03 10:49:45 +01:00
shagu fc964b2177 nameplates: add option for vertical offset
Due to the secure frame requirements in TBC, this option only exists in vanilla.

The feature is also experimental, as it removes the OnEnter/OnLeave events. There
is a ':Click' that can be called on the parent, but there is no ':Enter' or ':Leave'
that could be called to run the scripts. The parent also have no GetScript("OnEnter")
so there's no way to access the script that changes the color and shows the tooltip.
2024-11-03 10:45:47 +01:00
shagu 577e88c18a nameplates: keep target nameplate above others
Thanks @Otari98 for the idea and implementation via:
https://github.com/shagu/ShaguPlates/pull/30
2024-09-28 11:05:47 +02:00
shagu b00dc9e33c nameplates: abbreviate unit names if option is set 2024-09-03 22:20:51 +02:00
shagu b8d23a0e28 nameplates: combat state border colors
* red: attacking player
* yellow: attacking other
* blue: no target (npc only)
* none: out of combat

This only works if super-wow is enabled.
2024-09-02 16:38:44 +02:00
shagu 59878b3f8f thirdparty: add support for superwow spell cast 2024-05-09 10:49:03 +02:00
flyinbed 1365368ecf nameplates: fix deficit mod format error 2024-02-26 17:50:47 +01:00
Cameron Weaver (Clutch) 2e8d3e2f7a nameplate: add option to show guild names 2024-02-26 17:41:29 +01:00
shagu d464cd4289 nameplates: add option to only show target castbar 2023-07-04 09:53:29 +02:00
Cameron Weaver (Clutch) 863c17cc1a nameplates: adjust glow position on hidden bars 2023-03-19 19:14:55 +01:00
Cameron Weaver (Clutch) 31b8f11dc0 nameplates: add option for friendly text class color 2023-03-12 20:06:38 +01:00
shagu c7f31fe9b0 nameplates: increase nameplate render performance
increase renderer performance by not creating all debuff slots
on each nameplate on creation, but rather only build those who
are really needed on the fly. This heavily reduces the overall
frame- and cooldown anmiation count in most scenarios.
2022-08-05 16:50:52 +02:00
shagu 52443ebf63 nameplates: fix boss level comparison with number 2022-07-18 21:56:46 +02:00
shagu 8ec1435031 nameplates: cache player state on nameplates 2022-07-17 12:32:20 +02:00
shagu 367b47288a nameplates: detect players with npc names by level 2022-07-17 12:31:54 +02:00
shagu 7a9f0e39d3 nameplates: ignore updates on invisible plates 2022-07-16 10:52:49 +02:00
shagu 1d6b9c6aeb nameplates: make use of old debuff timer option 2022-07-02 13:49:13 +02:00
shagu 8c61f1fbbb nameplates: add support for mobhealth2 2021-12-10 15:02:23 +01:00
shagu ecbb1c0241 nameplates: queue events to update call 2021-12-07 01:34:51 +01:00
shagu 02b887b5f5 nameplates: check for valid limits on buff anchors 2021-02-02 17:40:08 +01:00
shagu 28875d51de nameplates: satisfy outdated versions of omnicc
Old versions of OmniCC doesn't check the existance of frame names of unknown
foreign objects before accessing them:

    cooldown.textFrame.icon =
      --standard action button icon, $parentIcon
      getglobal(cooldown:GetParent():GetName() .. "Icon") or
      --standard item button icon,  $parentIconTexture
      getglobal(cooldown:GetParent():GetName() .. "IconTexture") or
      --discord action button, $parent_Icon
      getglobal(cooldown:GetParent():GetName() .. "_Icon");

Code like this leads to errors such as: 'attempt to concatenate a nil value'.

By this commit every single debuff icon of the pfUI nameplates will now have
a frame name. That doesn't fix the OmniCC root cause, but makes at least the
pfUI/ShaguPlates no longer responsible for showing it up...
2021-01-09 01:36:16 +01:00