切換
舊版
前往
大廳
主題

[6.0]利用新的巨集條件更改天賦圖標

死鬥 | 2015-02-07 16:28:04 | 巴幣 2 | 人氣 753

6.0後用API (SetMacroSpell)更改圖標好像怪怪的
去WowWiki一查發現有新的巨集條件
經試用可行。大家可以參考看看,也可順此節省更多字元。

條件用法:
[talent:天賦列/天賦欄]

範例:
#showtooltip [talent:4/1]暴風怒擲;[talent:4/2]震懾波;[talent:4/3]龍吼
/cast [@mouseover,harm][@focus,harm][harm]暴風怒擲
/cast 龍吼
/cast 震懾波

補充一個範例:
現在部份天賦名稱會依照專精改變,目前只能判斷專精來做區隔,
所以我加上了
spec  專精條件
因為我野d是第一專精,所以我配spec:1顯示化身:叢林之王,
守護d是第二專精,所以配spec:2來顯示化身:厄索克之子
如果是鳥d或補d 請依照你們的所在專精序號做修改
#showtooltip [talent:4/1]森林之魂;[talent:4/2,spec:1]化身:叢林之王;[talent:4/2,spec:2]化身:厄索克之子;[talent:4/3]自然之力
/cast 自然之力
/cast 化身:厄索克之子
/cast 化身:叢林之王


以下再提供D、法、牧、戰、術的的天賦巨集給大家做範本
大家可以依照自己的情況做修改
----------------------------術士-----------------------------
術士第一層
#showtooltip [talent:1/1]黑暗再生;[talent:1/2]靈魂汲取;[talent:1/3]收割生命
/cast 黑暗再生

術士第二層
#showtooltip [talent:2/1]恐懼嚎叫;[talent:2/2]死影纏繞;[talent:2/3]暗影之怒
/cast 恐懼嚎叫
/cast [@mouseover,harm][@focus,harm][harm]死影纏繞
/cast !暗影之怒

術士第三層
#showtooltip [talent:3/1]靈魂鏈結;[talent:3/2]犧牲契印;[talent:3/3]黑暗交易
/cast 犧牲契印
/cast 黑暗交易

術士第四層
#showtooltip [talent:4/1]血性恐懼;[talent:4/2]燃燒狂奔;[talent:4/3]無縛意志
/cast 血性恐懼
/cast 燃燒狂奔
/cast 無縛意志

術士第五層
#showtooltip [talent:5/1]至尊魔典;[talent:5/2]服侍魔典;[talent:5/3]協調魔典
/cast 至尊魔典
/cast 服侍魔典
/cast 協調魔典

術士第六層
#showtooltip [talent:6/1]阿克蒙德支闇;[talent:6/2]基爾加丹之詐;[talent:6/3]瑪諾洛斯之怒
/cast 基爾加丹之詐
/cast 瑪諾洛斯之怒

術士第七層(這裡的spec:1表示痛苦術,spec:2惡魔術,請依照自己的專精序號修改)
#showtooltip [spec:2,talent:7/1]惡魔箭;[spec:1,talent:7/1]靈魂炙燃:蝕魂術;[talent:7/2]災變;[talent:7/3]惡魔奴役
/cast [nostance:1,spec:2]!惡魔化身
/cast [stance:1,spec:2]惡魔箭
/cast !災變

----------------------------小D-----------------------------
小D第一層
#showtooltip  [talent:1/1]豹之迅捷;[talent:1/2]獸性位移; [talent:1/3]狂野衝鋒
/cast [stance:1]狂暴恢復
/cast 獸性位移
/stopmacro [talent:1/1][talent:1/2]
/cast [@mouseover,exists][@focus,exists][exists][noexists]狂野衝鋒

小D第二層
#showtooltip [talent:2/1]伊瑟拉的贈禮;[talent:2/2]復原;[talent:2/3]塞納里奧結界
/cast 復原
/cast  [@player,mod:shift][@mouseover,help][@focus,help][help][@player]塞納里奧結界

小D第三層
#showtooltip [talent:3/1]精靈群襲;[talent:3/2]群體糾纏;[talent:3/3]颱風
/cast [@mouseover,harm][@focus,harm][harm]群體糾纏
/cast [@mouseover,harm][@focus,harm][harm]精靈群襲
/cast 颱風

小D第四層
#showtooltip [talent:4/1]森林之魂;[talent:4/2,spec:1]化身:叢林之王;[talent:4/2,spec:2]化身:厄索克之子;[talent:4/3]自然之力
/cast 自然之力
/cast 化身:厄索克之子
/cast 化身:叢林之王

小D第五層
#showtooltip [talent:5/1]癱瘓咆哮;[talent:5/2]厄索之旋;[talent:5/3]猛力重擊
/cast 癱瘓咆哮
/cast !厄索之旋
/cast [@mouseover,harm][@focus,harm][harm][@targettarget,harm]猛力重擊

小D第六層
#showtooltip [talent:6/1]野性之心;[talent:6/2]塞納留斯之夢;[talent:6/3]自然戒備
/cast 野性之心
/cast 塞納留斯之夢
/cast 自然戒備

----------------------------牧師-----------------------------
牧師第一層
#showtooltip [talent:1/1]絕望禱言;[talent:1/2]鬼魅幻影;[talent:1/3]天使之壁
/cast 絕望禱言
/cast 鬼魅幻影
/cast 天使之壁

牧師第二層
#showtooltip [talent:2/1]身心合一;[talent:2/2]天使之羽;[talent:2/3]幻影術
/cast 身心合一
/cast !天使之羽
/cast 幻影術

牧師第四層
#showtooltip [talent:4/1]虛無觸鬚;[talent:4/2]心靈尖嘯;[talent:4/3]支配心智
/cast 心靈尖嘯
/cast 虛無觸鬚
/cast [@mouseover,harm][@focus,harm][harm]支配心智

牧師第五層
#showtooltip [talent:5/1]命運無常;[talent:5/2]注入能量;[talent:5/3,spec:1]幽暗洞察;[talent:5/3,spec:2]精神護罩
/cast 注入能量
/cast 精神護罩

牧師第六層
#showtooltip [talent:6/1]神聖箭矢;[talent:6/2]神性之星;[talent:6/3]輝環
/cast [@mouseover,exists][@focus,exists][exists][@player]神聖箭矢
/cast 神性之星
/cast 輝環
----------------------------法師-----------------------------
法師第一層
#showtooltip [talent:1/1]漸隱;[talent:1/2]熾烈迅捷;[talent:1/1]浮冰
/cast 漸隱
/cast 浮冰
/cast 熾烈迅捷

法師第二層
#showtooltip [talent:2/1]時光倒轉;[talent:2/2]焰芒護體;[talent:2/3]寒冰護體
/cast 時光倒轉
/cast 寒冰護體

法師第三層
#showtooltip [talent:3/1]霜之環;[talent:3/2]寒冰結界;[talent:3/3]霜顎
/cast 霜之環
/cast [@mouseover,help][@focus,help][help][@targettarget,help][@player]寒冰結界
/cast [@mouseover,harm][@focus,harm][harm][@targettarget.harm]霜顎

法師第四層
#showtooltip [talent:4/1]強效隱形;[talent:4/2]燒灼;[talent:4/3]急速冷卻
/cast 急速冷卻
/cast 強效隱形

法師第五層(以下是以第一專精是冰系,第二專精是火系為前提,請依照個人狀況修改)
#showtooltip [talent:5/1,spec:1]冰霜炸彈;[talent:5/1,spec:2]活體爆彈;[talent:5/2]不穩定的魔法;[talent:5/3,spec:1]寒冰新星;[talent:5/3,spec:2]衝擊波
/cast 冰霜炸彈
/cast 活體爆彈
/cast 不穩定的魔法
/cast [@mouseover,exists][@focus,exists][exists][]寒冰新星
/cast 衝擊波

法師第六層
#showtooltip [talent:6/1]鏡像;[talent:6/2]力之符文;[talent:6/3]咒法之流
/cast 鏡像
/cast 力之符文

----------------------------戰士-----------------------------
戰士第四層
#showtooltip [talent:4/1]暴風怒擲;[talent:4/2]震懾波;[talent:4/3]龍吼
/cast [@moseover,harm][@focus,harm][harm]暴風怒擲
/cast 龍吼
/cast 震懾波

戰士第五層
#showtooltip [talent:5/1]群體法術反射;[talent:5/2]安全守護;[talent:5/3]戒備守護
/cast 群體法術反射
/cast 安全守護
/cast 戒備守護

戰士第六層
#showtooltip [talent:6/1]巨像化身;[talent:6/2]浴血;[talent:6/3]劍刃風暴;
/use 14
/use 魔古之力藥水
/cast 法術反射
/cast 狂暴(種族特長)
/cast 魯莽
/cast 嘲諷
/cast 狂暴之怒
/cast 劍下亡魂
/cast 巨像化身
/cast 劍刃風暴
/cast 浴血
(由於魯莽會強迫切戰鬥姿態,所以利用嘲諷秒回防姿)
--------------------回給阿嵐-----------------
#showtooltip [spec:1]極度冰凍;[spec:2]燃火
/cast [@mouseover,harm][@focus,harm][harm]極度冰凍
/cast [@mouseover,harm][@focus,harm][harm]燃火

SetMacroSpell 版本(無法即時更新圖標)
#showtooltip
/cast 冰寒脈動
/cast 燃火
/cast 秘法強化
/run local G=GetSpellInfo SetMacroSpell("TEST",G"冰寒脈動" or G"燃火" or G"秘法強化")

P.S.假設巨集名稱是TEST 那 SetMacroSpell 內的第一個參數就要跟著改名字
       且更換專精後,不會即時更換圖標,得按過或點過一次



創作回應

更多創作