|
发表于 2015-8-15 21:17:28
|
显示全部楼层
用文本编辑软件打开NugRunning.lua找到
f.timeText = f.bar:CreateFontString(nil, "OVERLAY");
f.timeText:SetFont("FontsFRIZQT__.TTF",8)
f.timeText:SetWidth(f.bar:GetWidth()/4)
f.timeText:SetHeight(height)
f.timeText:SetJustifyH("RIGHT")
f.timeText:SetVertexColor(1,1,1)
f.timeText:SetPoint("RIGHT", f.bar, "RIGHT",-6,0)
f.spellText = f.bar:CreateFontString(nil, "OVERLAY");
f.spellText:SetFont("FontsFRIZQT__.TTF",f.bar:GetHeight()/2)
f.spellText:SetWidth(f.bar:GetWidth()/4*3 -12)
f.spellText:SetHeight(height/2+1)
f.spellText:SetJustifyH("CENTER")
f.spellText:SetVertexColor(1,1,1)
f.spellText:SetPoint("LEFT", f.bar, "LEFT",6,0)
注意彩色的字体,红色部分是字体的路径和字体大小,淡蓝色就是具体时间和法术名称的文字大小,改成你自己喜欢的大小就行了,比如12或者更大。
紫色部分就是文字的位置,上面一个是时间的,下面一个是法术名称的,相互换位置就把两行代码互换一下就行了。 |
|