救命啊,我要设置个宏命令

来源:百度知道 编辑:UC知道 时间:2024/06/07 01:17:51
我是7区DLY,想设置个宏命令,变豹的同时换上匕首,变熊的同时换上锥,求求各位大虾,帮帮小弟,谢谢了

RP的变形宏,其他形态则变回人形,人形则喊话并变成相应形态,反复按不会再变回人形

人形态下变熊,并喊“熊的力量!” 其他任何形态则变回人形
/script local c,s,i,a,_=CastShapeshiftForm;for i=1,6 do _,_,a=GetShapeshiftFormInfo(i);if a then s=i;break;end;end;if not s then SendChatMessage("熊的力量!","yell");c(1);elseif s~=1 then c(s);end;

人形态下变猫,并喊“豹的速度!” 其他任何形态则变回人形
/script local c,s,i,a,_=CastShapeshiftForm;for i=1,6 do _,_,a=GetShapeshiftFormInfo(i);if a then s=i;break;end;end;if not s then SendChatMessage("豹的速度!","yell");c(3);elseif s~=3 then c(s);end;

人形态下变风暴乌鸦,并喊“鹰的眼睛!” 其他任何形态则变回人形(资料片适用)
/script local c,s,i,a,_=CastShapeshiftForm;for i=1,6 do _,_,a=GetShapeshiftFormInfo(i);if a then s=i;break;end;end;if not s then SendChatMessage("鹰的眼睛!","yell");c(6);elseif s~=6 then c(s);end;

人形态下变鹌鹑/奶树,并喊“鹌鹑的可爱!” 其他任何形态则变回人形(鹌鹑/奶树自己根据天赋调整……)
/script local c,s,i,a,_=CastShapeshiftForm;for i=1,6 do _,_,a=GetShapeshiftFormInfo(i);if a then s=i;brea