|
发表于 2016-9-1 17:01:51
|
显示全部楼层
德鲁伊变身宏:
豹:按第一下变豹再按潜行
/script local c,i,b,f,a,_=CastSpellByName;_,_,a=GetShapeshiftFormInfo(3);if a then for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"Ambush") then f=1;break;end;end;if not f then c("潜行");end;else c("猎豹形态");end;
熊:
/script local a,_;_,_,a=GetShapeshiftFormInfo(1);if not a then CastShapeshiftForm(1);end;
海豹
/script local a,_;_,_,a=GetShapeshiftFormInfo(2);if not a then CastShapeshiftForm(2);end;
旅行
/script local a,_;_,_,a=GetShapeshiftFormInfo(4);if not a then CastShapeshiftForm(4);end;
枭兽
/script local a,_;_,_,a=GetShapeshiftFormInfo(5);if not a then CastShapeshiftForm(5);end;
|
|