Lua
local _N = CreateFrame("Frame")
_N:RegisterEvent("NAME_PLATE_UNIT_ADDED")
_N:SetScript("OnEvent", function(self, event, unit)
if self:IsForbidden() then return end
local p = C_NamePlate.GetNamePlateForUnit(unit).UnitFrame
--Castbar Height
local defaultH = p.castBar:GetHeight()
p.castBar:SetHeight(defaultH*2)
--Castbar Font
local fontName, fontHeight, fontFlags = p.castBar.Text:GetFont()
p.castBar.Text:SetFont(fontName, fontHeight*1.8)
--Castbar icon
local defaultS = p.castBar.Icon:GetHeight()
p.castBar.Icon:SetSize(defaultS*1.5,defaultS*1.5)
p.castBar.Icon:SetPoint("RIGHT",p.castBar,"LEFT",0,0)
end)
p.castBar:SetHeight(2*defaultH) ->시전바 높이를 기본의 2배로p.castBar.Text:SetFont(fontName, fontHeight*1.8) -> 시전바 글씨를 원래 크기의 1.8배로
p.castBar.Icon:SetSize(defaultS*1.5,defaultS*1.5) -> 시전바 아이콘 크기를 원래 크기의 1.5배로
p.castBar.Icon:SetPoint("RIGHT",p.castBar,"LEFT",0,0) -> 아이콘 위치 보정
![]() |
| 높이 2배/ 폰트 1.8배 적용 예시 |
