求魔兽世界宏一个

来源:百度知道 编辑:UC知道 时间:2024/06/14 07:34:37
我是恢复D,主恢复那种

1、冲锋:

  (1)判断是否在熊/巨熊形态,如果不是则变成熊再冲锋+低吼;如果是则直接冲锋+低吼。

  /Script local c,s,i,f,n,a,_=CastSpellByName,"巨熊形态";for i=1,GetNumShapeshiftForms() do _,n,a=GetShapeshiftFormInfo(i);if n==s then break;end;end;if a==1 then if IsActionInRange (34) then c("野性冲锋");else c("低吼");end;else c(s);end;

  注:红字:34是技能栏编号,使用这个宏前要先把野性冲锋放在一个技能栏位上(放在一些少用的键位上)。具体键位编号见OBLIND的

  2、猫形态起手宏(潜行):
  在潜行的条件下,毁灭起手,然后检测对方身上是否有精灵之火,没有就上个,有就爪击。

  /cast 毁灭
  /cast 爪击
  /script x=1;found=0;while(UnitDebuff("target",x)) do if(string.find(UnitDebuff
  ("target",x),"Spell_Nature_FaerieFire"))then found=1;end;x=x+1;end;
  /script if(found==1)then CastSpellByName("爪击");else CastSpellByName("精灵之火(野性)")end

  3、背面攻击宏:
  先判断,如果毁灭能用就用毁灭,不能用就撕碎。

  /script x=1;found=0;while(UnitBuff("player",x)) do if(string.find(UnitBuff
  ("player&qu