• 战士宏集

    版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
    http://wowhong.blogbus.com/logs/1381587.html

    Charge
    /script
    texture,name,isActive,isCastable = GetShapeshiftFormInfo(1);
    if isActive then CastSpellByName("Charge(Rank 3)");
    else CastSpellByName("Battle Stance()");
    end;

    Disarm
    /script
    texture,name,isActive,isCastable = GetShapeshiftFormInfo(2);
    if isActive then CastSpellByName("Disarm()");
    else CastSpellByName("Defensive Stance()");
    end;
    Overpower
    /script
    texture,name,isActive,isCastable = GetShapeshiftFormInfo(1);
    if isActive then CastSpellByName("Overpower(Rank 3)");
    else CastSpellByName("Battle Stance()");
    end;


    Revenge
    /script
    texture,name,isActive,isCastable = GetShapeshiftFormInfo(2);
    if isActive then CastSpellByName("Revenge(Rank 4)");
    else CastSpellByName("Defensive Stance()");
    end;


    Stance Toggle
    /script local S,C,I,_,a=" Stance()",CastSpellByName,IsControlKeyDown;_,_,a=GetShapeshiftFormInfo(1);if I() then C("Berserker"..S);elseif a then C("Defensive"..S);else C("Battle"..S);end;


    Taunt
    /script
    texture,name,isActive,isCastable = GetShapeshiftFormInfo(2);
    if isActive then CastSpellByName("Taunt()");
    else CastSpellByName("Defensive Stance()");
    end;



    Charge/Intercept
    /script local w,a,r=GetShapeshiftFormInfo(1); if r then CastSpellByName("Charge(Rank 1)"); else CastSpellByName("Intercept(Rank 1)"); end;


    Swap Weapon and Stance Macro
    1. /script PickupContainerItem(4,2);PickupInventoryItem(16);PickupContainerItem(4,1);PickupInventoryItem(17)
    /cast Stance Name();
    2./script PickupContainerItem(4,2);PickupInventoryItem(16);PickupContainerItem(4,1);PickupInventoryItem(17)
    /cast Stance Name();

    收藏到:Del.icio.us