用TPTP已經很久了,原本只是依附在Tidy Plates下的模塊,
現已獨立出來變成單體插件。
這款血條其強大功能性不勝枚舉,例如血條隨仇恨變色,
針對特定怪物設置自訂血條等等(可實現血條變色、放大縮小之類功能)
但是一直找不到如何針對M+10層以上詞綴感染做變色設定,
便求助大陸擅長更改LUA的朋友幫忙研究。
詳細辦法在此:http://bbs.nga.cn/read.php?tid=15441104&fav=1a202026
打開TPTP文件夾下Functions文件夾內的healthbarcolor.lua
https://imgur.com/EE1QyUX
在ThreatPlates APls部分末端加入代碼
-- Extra M+ G'huun Buff settings
local GhuunBuff = 277242
local ghuun = {r = 0, g = 1, b = 0.6}
更改r g b 後面的數字可更改顏色,具體的數字代碼可遊戲內查看
例如我想調紅一點就是增加r的值
https://imgur.com/ZfQN3Es
然後直接拉到最下方,在末尾returncolor前加入代碼
-- colors extra custom buffs/debuffs for G'huun
for i = 1, 40 do
local spellIDs = {select(10, UnitBuff(unit.unitid, i))}
for _, v in pairs(spellIDs) do
if v == GhuunBuff then
color_r, color_g, color_b = ghuun.r, ghuun.g, ghuun.b
end
end
end
https://imgur.com/1jFGKxw
然後儲存檔案即可。
如果懶得改,直接下nga那篇文章裡面的附件替換即可。
--
All Comments