기본 네임플레이트를 사이즈 키우고 위로 넓혀서 디버프 크기 등등 다 설정이 됐는데요

시전바가 덩달아 커지면서 보기가 안 좋아졌습니다

저 시전바 사이즈를 조절하는 스크립트를 아시는 분을 찾습니다

네임플레이트 관련 쓰고 있는 건 이렇게 됩니다



-- 네임플레이트 디버프 크기와 위치 조정
NamePlateDriverFrame:HookScript("OnEvent", function()
for _,v in pairs(C_NamePlate.GetNamePlates()) do
local bf = v.UnitFrame.BuffFrame
bf:SetScale(0.45)-- SetScale --기본 값 1 크기 수정-
bf.baseYOffset = 0 -- 디버프 위치 아래로 조정
bf:UpdateAnchor()
for i = 1, BUFF_MAX_DISPLAY do
local buff = bf.buffList[i]
if (buff) then
buff.Cooldown:SetHideCountdownNumbers(false);
buff.Cooldown:SetScale(.7)
buff.CountFrame.Count:ClearAllPoints()
buff.CountFrame.Count:SetPoint("BOTTOM",buff,"TOP")
buff.CountFrame.Count:SetVertexColor(1,1,0,1)
buff.CountFrame.Count:SetScale(0.7) --버프 중첩 폰트 크기
end
end
end
end)

--네임플레이트 생명력 %표시, 타겟 테두리 확장
hooksecurefunc("CompactUnitFrame_OnUpdate", function(frame)
if (frame.optionTable.colorNameBySelection and not frame:IsForbidden()) then
frame:SetScale((UnitGUID(frame.displayedUnit) == UnitGUID("target")) and 1 or 1) --타겟과 논타겟 네임플레이트 상하좌우 길이 변경 
if (not frame.healthBar.percent) then
frame.healthBar.percent = frame.healthBar:CreateFontString(nil,"OVERLAY")
frame.healthBar.percent:SetPoint("TOP",frame.healthBar,0,0)
frame.healthBar.percent:SetFont(STANDARD_TEXT_FONT,4,"THICKOUTLINE") -- %표시 폰트 크기 조절
end
local percentcalc = ceil((UnitHealth(frame.displayedUnit) / UnitHealthMax(frame.displayedUnit)) * 100)
if (UnitGUID(frame.displayedUnit) == UnitGUID("player")) then
frame.healthBar.percent:SetFormattedText("%d%%n124cff55ffff%d",percentcalc,UnitPower(frame.displayedUnit))
else
frame.healthBar.percent:SetFormattedText("%d%%",percentcalc)
end
frame.healthBar.border:SetScale((UnitGUID(frame.displayedUnit) == UnitGUID("target")) and 2 or 1)
if (UnitGUID(frame.displayedUnit) == UnitGUID("target")) then
frame.healthBar.border:SetVertexColor(1,1,.7,1)
end
end
end)

+ AdvancedInterfaceOptions 애드온