TPTP(Threat Plates)針對感染血條變色 - WOW

By Genevieve
at 2018-11-01T19:41
at 2018-11-01T19:41
Table of Contents
用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那篇文章裡面的附件替換即可。
--
Tags:
WOW
All Comments

By Liam
at 2018-11-02T17:39
at 2018-11-02T17:39

By Zora
at 2018-11-04T01:26
at 2018-11-04T01:26

By Skylar DavisLinda
at 2018-11-04T05:24
at 2018-11-04T05:24

By David
at 2018-11-07T04:19
at 2018-11-07T04:19

By Tracy
at 2018-11-09T16:57
at 2018-11-09T16:57

By Sandy
at 2018-11-14T05:44
at 2018-11-14T05:44

By Daph Bay
at 2018-11-16T02:08
at 2018-11-16T02:08

By Cara
at 2018-11-20T00:02
at 2018-11-20T00:02

By Ursula
at 2018-11-21T13:36
at 2018-11-21T13:36

By Zora
at 2018-11-24T08:28
at 2018-11-24T08:28
Related Posts
單人副本死亡無法到達屍體

By Frederic
at 2018-11-01T17:18
at 2018-11-01T17:18
一早就有八卦看?

By Frederic
at 2018-11-01T15:53
at 2018-11-01T15:53
開箱 2018好棒棒袋

By Zenobia
at 2018-11-01T13:02
at 2018-11-01T13:02
阿塔尾王打法

By Caitlin
at 2018-11-01T12:11
at 2018-11-01T12:11
只靠採集《魔獸世界》中立熊貓人練到120級

By Edith
at 2018-11-01T11:30
at 2018-11-01T11:30