根据战士伤害用TMW插件制作怒气监控的字符串,
设置好后发现左边0/120 右边100%十分让人难受,自己调整了数字显示方式,将其居中,并根据怒气多少设置颜色,稍微加了深边框
第一步:
导入怒气条TMW代码
^1^T^SView^Sbar ^SStrata^STOOLTIP ^SPoint^T ^Sy^F-4738154677336732 ^f-45^Sx ^F-5004004900205528^f-52 ^t^SScale^F8106786741551100 ^f-53^SRole ^N5^SIcons ^T^N1^T ^SType^Svalue ^SPowerType^N1 ^SBarDisplay_CompleteColor^T ^Sb^F4591905502416976 ^f-54^Sg ^F7347048803867162^f-56 ^Sr^N1 ^t^SSettingsPerView^T ^Sbar^T ^STextLayout^STMW:textlayout:1MWzEXB3D1x1 ^STexts^T ^N1^S[Value:Short] ^N2^S[Value:Short] ^t^t^t^SCustomTex^SNONE ^SEnabled^B ^SBarDisplay_StartColor^T ^Sb^F8477364004462110 ^f-57^Sg ^N1^Sr ^F5510286602900372^f-55 ^t^SBarDisplay_EnableColors^B ^t^t^SGUID^STMW:group:1MWz24QUNNpS ^SName^S怒气条 ^SSettingsPerView^T ^Sbar^T ^SBorderBar^N2 ^SSizeX^F6528405587623921 ^f-45^SIcon ^b^t ^t^SColumns^N1 ^SOnlyInCombat^B ^t^N74003^S~`~" ^Sgroup^N12 ^^
^1 ^T^N1^T ^SOutline^SOUTLINE ^SAnchors^T ^N1^T ^SrelativeTo^SIconModule_TimerBar_BarDisplayTimerBar ^t^t^SDefaultText^S怒气 ^SSize^N16 ^t^SGUID^STMW:textlayout:1MWzEXB3D1x1 ^SName^S怒气居中 ^t^N74003^S~`~| ^Stextlayout^STMW:textlayout:1MWzEXB3D1x1 ^^
第二步
导入怒气数字字居中显示的文字样式TMW代码
^1^T^N1^T ^SOutline^SOUTLINE ^SAnchors^T ^N1^T ^SrelativeTo^SIconModule_TimerBar_BarDisplayTimerBar ^t^t^SDefaultText^S怒气 ^SSize^N16 ^t^SGUID^STMW:textlayout:1MWzEXB3D1x1 ^SName^S怒气居中 ^t^N74003^S~`~| ^Stextlayout^STMW:textlayout:1MWzEXB3D1x1 ^^
设置,如下图