竞技场敌对姓名版改为小队数字的方法

每次载入角色后执行

/run local U=UnitIsUnit hooksecurefunc("CompactUnitFrame_UpdateName",function(F)if IsActiveBattlefieldArena()and F.unit:find("nameplate")then for i=1,5 do if U(F.unit,"arena"..i)then F.name:SetText(i)F.name:SetTextColor(1,1,0)break end end end end)

效果:

数据来源:PSA: Arena Numbers on Nameplates