﻿PhantomPlates
by SDPhantom
https://www.wowinterface.com/forums/member.php?u=34145
https://www.curseforge.com/members/sdphantomgamer/projects
===============================================================================

All Rights Reserved - Use at your own risk
UnZip contents into the "Interface\AddOns" folder in your WoW installation directory

===============================================================================
Versions:
v1.27.3 (2026-01-17)
	-Fixed Blizzard code interfering with hiding Personal NamePlate's cast bar in Anniversary Edition TBC

v1.27.2 (2026-01-17)
	-Fixed more references to objects Blizzard moved in Anniversary Edition TBC
	-Readjusted call order during Personal NamePlate setup that lost track of its castbar in Vanilla Classic

v1.27.1 (2026-01-16)
	-Mitigated Blizzard bug involving threat glow in Anniversary Edition TBC

v1.27 (2026-01-12)
	-Fixed Blizzard changes for Anniversary Edition TBC

v1.26 (2025-07-23)
	-Fixed Vanilla Classic not unregistering cast bars when nameplates were removed

v1.25.1 (2025-05-02)
	-Added ruRU locale (Courtesy of ZamestoTV)

v1.25 (2024-10-05)
	-PersonalNamePlate now directly creates from the NamePlateUnitFrameTemplate template instead of asking the frame pools to create it

v1.24 (2024-08-18)
	-Fixed API changes with fetching ToC data
	-Converted BuffFrames module to the new (to Classic) AuraData API

v1.23 (2024-07-26)
	-Fixed global leaks in Options
	-Fixed "Enable Cast Bars" option not doing anything (Vanilla Classic only)
	-Fixed player castbar getting cloned to other NamePlates in Vanilla Classic
	-Fixed taint caused in creation of missing castbars in Vanilla Classic
	-Updated LibAuraTypes (Rev 38 - 9338e0a)

v1.22 (2023-12-14)
	-PersonalNamePlate now parents off of WorldFrame like other NamePlates
	-Ported TBC+ NamePlate CastBars to Vanilla Classic
	-Fixed Personal NamePlate's reference to "self" in the "Show Tradeskills" option
	-Fixed Personal NamePlate's "Show Tradeskills" option not applying on startup
	-Fixed Power Text checking the wrong "Show" setting when changing formats
	-Fixed text format dropdowns not disabling when their associated "Show Text" checkbox was unchecked
	-Removed LibClassicDurations due to Vanilla Classic's native support

v1.21 (2023-10-17)
	-Added more robust unit checks for inactive NamePlates
	-Removed now unused UICheckButtonTemplate .text fallback for Vanilla Classic
	-Consolidated health bar color lock override now that Vanilla Classic calls :UpdateHealthColorOverride()

v1.20 (2023-08-22)
	-Fixed Blizzard backporting Dragon Flight's options system to Vanilla Classic

v1.19 (2023-01-19)
	-Fixed WotLK Classic adding Dragon Flight's soft target frame (and raid icon texture) to Personal NamePlate

v1.18 (2023-01-18)
	-Fixed WotLK Classic change in frame pool collections that broke the Personal NamePlate
	-Fixed WotLK Classic switching to using .Text for the UICheckButtonTemplate's button text
	-Updated LibAuraTypes (Rev 36 - 2f7fdab)

v1.17 (2022-10-19)
	-Removed health text forced percentage check due to Wrath abandoning use of ShouldKnowUnitHealth()
	-Death Knight runes now hide when in vehicle mode
	-Fixed Dispell/Steal buff texture not having BlendMode set
	-Debuff type display now uses the debuff border texture instead of a solid color behind an opaque icon
	-Adjusted buff/debuff icon and border sizes to reduce overlapping
	-Fixed "Show Tradeskills" option being ignored when Personal NamePlate is shown
	-Fixed Personal NamePlate visibility events not listening for posession/vehicle
	-Personal NamePlate visibility logic no longer runs while in combat as it's force-shown anyway

v1.16 (2022-09-26)
	-Added posession/vehicle support to Personal NamePlate
	-Added UNIT_POWER_FREQUENT support to Personal NamePlate
	-Added "Show Tradeskills" option to Personal NamePlate instead of hardcoding it to active
	-Added Death Knight RuneBar to Personal NamePlate
	-Personal NamePlate hides when in Barber Shop
	-Updated LibAuraTypes (Rev 35 - 2b98739)

v1.15 (2022-08-07)
	-Classic Wrath of the Lich King Support
	-Personal NamePlate now shows while casting and CastBar enabled
	-Added option to toggle Personal NamePlate's CastBar
	-Added option to hide the DefaultUI CastBar
	-Updated LibAuraTypes (Rev 33 - fe56f78)

v1.14 (2022-01-24)
	-Fixed change to UnitChannelInfo()

v1.13 (2022-01-13)
	-Removed lingering NamePlateBorder debug print
	-Updated LibAuraTypes (Rev 33 - b72e4c0)

v1.12 (2021-11-10)
	-Fixed NamePlate creation hook in Classic Vanilla

v1.11 (2021-09-30)
	-Fixed LibStub load order issue
	-Fixed Classic Burning Crusade CastBar setting attempting to apply in Classic Vanilla
	-Fixed issues with the NamePlate border's :GetTexture() and relaxed path checking

v1.10 (2021-09-16)
	-Rewrote options system
	-Added format options for health and power text
	-BuffFrames now show stealable/dispellable buffs/debuffs
	-Fixed CCFrame ignoring settings
	-CastBars show spell names
	-Cast times can show in longer units
	-Updated LibAuraTypes (Rev 31 - 879994e)

v1.9 (2021-06-19)
	-Fixed BuffFrames still trying to call the old hooking code in Classic Vanilla
	-Updated LibAuraTypes (Rev 29 - 584a9bb)

v1.8 (2021-06-12)
	-Restricted HealthBar's color modification to if UnitSelectionColor() is used
	-Checks added to prevent hooking forbidden NamePlates
	-Altered Personal NamePlate's UnitFrame acquisition to prevent taint
	-Rebuilt hooking system to support Personal NamePlate's new acquisition code

v1.7 (2021-05-22)
	-Improved percent health detection for formatting
	-Added zhCN locale (Courtesy of 颜颜@莫格莱尼)

v1.6 (2021-05-21)
	-Multi-ToC build implemented
	-Fixed LibClassicDurations not being loaded on Classic Vanilla
	-Fixed rage resource from blocking Personal NamePlate's auto-hide

v1.5 (2021-05-15)
	-Classic Burning Crusade Support
	-Options panel layout is more dynamic to support client-specific features
	-NamePlateCastBar time and pushback text added to Classic Burning Crusade
	-LibClassicDurations removed on Classic Burning Crusade client due to native support
	-Updated LibClassicDurations (Rev 69 - f94be38) on Classic Vanilla client
	-Increased Personal NamePlate exposure for other addons hooking NamePlates
	-Fixed HP/Power text vertical offset applying when power is disabled

v1.4 (2021-04-21)
	-Improved PowerText visibility
	-Added option to always show Personal NamePlate
	-HP and Power text offset vertically to make the bars behind them more visible when both are shown
	-Updated LibAuraTypes (Rev 27 - 878934d)
	-Updated LibClassicDurations (Rev 69 - 437d99b)

v1.3.6 (2020-12-03)
	-Updated LibAuraTypes (Rev 9 - 35ad6cf)

v1.3.5 (2020-09-02)
	-Added deDE locale (Courtesy of val1n)

v1.3.4 (2020-08-31)
	-Disabled friendly NamePlate color lock due to taint issues (still working on mana bar visibility)
	-Added frFR locale (Courtesy of Arektor)

v1.3.3 (2020-08-10)
	-Removed NamePlate color update patch due to taint issues
	-Updated LibClassicDurations (Rev 64 - aefade9)

v1.3.2 (2020-07-10)
	-Removed color lock on enemy plates (Friendly plates are still locked green to make mana bars more visible)
	-Patched a Blizzard bug when a NamePlate unit (or player) is mind-controlled (Now properly updates unit plate type and colors)
	-Personal NamePlate once again inherits settings from DefaultCompactNamePlateFriendlyFrameOptions with some adjustments
	-Corrected Blizzard inherit bug causing the Personal NamePlate's level text to appear on top of other frames

v1.3.1 (2020-07-09)
	-Fixed PowerBars ignoring options when created
	-Removed debug line that made Personal NamePlate permanently show

v1.3 (2020-07-08)
	-Buffs added
	-Power bars and text added
	-Personal NamePlate now calls :OnAdded() and :OnRemoved() when shown/hidden
	-Name text removed from Personal NamePlate
	-Rewrote threat system using Blizzard's ThreatAPI (Removed LibThreatClassic2)
	-Included LibAuraTypes (Rev 8 - ef271b0)
	-Included LibClassicDurations (Rev 61 - 36e4dff)

v1.2.3 (2020-05-01)
	-Updated LibThreatClassic2 (Rev 12 - 85c9fdb)

v1.2.2 (2020-04-15)
	-Updated LibThreatClassic2 (Rev 11 - 2a768c3)

v1.2.1 (2020-03-20)
	-Updated LibThreatClassic2 (Rev 9 - acb53a7)

v1.2 (2020-03-14)
	-Improved Personal NamePlate visibility logic
	-Fixed Personal NamePlate ignoring its "enabled" setting in combat
	-Personal NamePlate setting changes while in combat are no longer delayed

v1.1 (2020-03-11)
	-Added options panel
	-Added localizations
	-Personal NamePlate now properly ignores UIScale

v1.0 (2020-02-18)
	-Initial Version
