魔兽世界法师冰箱宏怎么+打断效果

来源:百度知道 编辑:UC知道 时间:2024/05/20 02:36:14
/script local c,i,b,f,d,_=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strsub(b,5)=="Frost" then f=1;break;end;end;if not f then _,d=GetActionCooldown(41);if d>2 then c("急速冷却");SpellStopCasting();end;c("寒冰屏障");end;
这个宏怎么能+个打断当前施法的效果?
/Script SpellStopCasting() +在什么位置啊
Script SpellStopCasting()
/script local c,i,b,f,d,_=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strsub(b,5)=="Frost" then f=1;break;end;end;if not f then _,d=GetActionCooldown(41);if d>2 then c("急速冷却");SpellStopCasting();end;c("寒冰屏障");end;
不行。。

我只知道打断宏是/Script SpellStopCasting(),比如你在憋冰箭的时候冰箱,应该是
/Script SpellStopCasting()
/施放 寒冰屏障
效果是停止当前施法,立即冰箱
你那个太复杂 小弟看不懂 你结合一下 自己琢磨吧

加在前面吧,结合你的应该是

/Script SpellStopCasting()
/script local c,i,b,f,d,_=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strsub(b,5)=="Frost" then f=1;break;end;end;if not f then _,d=GetActionCooldown(41);if d>2 then c("急速冷却");SpellStopCasting();end;c("寒冰屏障");end;

FS一般很少用到宏的。

就在你的宏前面+一句/Script SpellStopCasting() ,就ok了~