/script P=PickupInventoryItem;PC=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(4,15));if(oi) then P(17);PC(4,7);else P(17);PC(4,15);end;P(16);PC(4,11);end /施放 战斗姿态
2、从任意姿态任意武器切换到防御姿态+主手武器+盾牌
/script P=PickupInventoryItem;C=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(4,15));if(oi) then P(17);C(4,7);C(4,15);AutoEquipCursorItem();end;else C(4,11);P(16);C(4,15);P(17);end /施放 防御姿态
3、从任意姿态任意武器切换到狂暴姿态+双持武器
/script P=PickupInventoryItem;PC=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(4,7));if(oi) then P(17);PC(4,15);PC(4,7);AutoEquipCursorItem();end;else PC(4,11);P(16);PC(4,7);P(17);end /施放 狂暴姿态
1、在战斗姿态下,把以下这个宏的图标放到9 /施放 冲锋(等级 3) /施放 压制(等级 4) /script if ( UnitHealth(target)20 ) then CastSpellByName(斩杀(等级 5)); else if ( UnitHealth(target)=20 ) then CastSpellByName(致死打击(等级 4)); end end /script if (UnitMana(Player)80) then CastSpellByName(英勇打击);end
/施放 盾牌格挡 /script SpellStopCasting(); /script if (UnitMana(Player)5) then CastSpellByName(复仇);end /script if (UnitMana(Player)40) then CastSpellByName(盾牌猛击);end /script if (UnitMana(Player)59) then CastSpellByName(英勇打击);end
3、在狂暴姿态下,把以下宏的图标放到9
/施放 拦截(等级 3) /script if ( UnitHealth(target)20 ) then CastSpellByName(斩杀(等级 5)); else if ( UnitHealth(target)=20 ) then CastSpellByName(致死打击(等级 4)); end end /script if(UnitAffectingCombat(player)==1) then CastSpellByName(旋风斩) else end
或者
/施放 拦截(等级 3) /script if ( UnitHealth(target)20 ) then CastSpellByName(斩杀(等级 5)); else if ( UnitHealth(target)=20 ) then CastSpellByName(致死打击(等级 4)); end end /script if (UnitMana(Player)80) then CastSpellByName(英勇打击);end
/ if (UnitHealth(target)20) then CastSpellByName(斩杀(等级 5)); end /施放 嗜血(等级 4) / if (UnitMana(Player)34) then CastSpellByName(旋风斩);end / if (UnitMana(Player)34) then CastSpellByName(英勇打击);end
狂暴状态攻击的宏,如果对方的血少于20%则斩杀
否则放嗜血. 如果怒气大于34,则使用旋风斩, 或英勇打击
这个数值我自己设的,具体情况可以看自己更改.
武器战士的 /script if(UnitIsFriend(player,target)) then AssistUnit(target); end; /cast 压制(等级 x) /script if (UnitHealth(target)20) then CastSpellByName(斩杀(等级 x)) else CastSpellByName(致死打击(等级 x)) end
/施放 盾牌格挡 / SpellStopCasting(); / if (UnitMana(Player)14) then CastSpellByName(复仇);end / if (UnitMana(Player)44) then CastSpellByName(盾牌猛击);end / if (UnitMana(Player)59) then CastSpellByName(英勇打击);end
2月1日更新:优先使用盾牌格档的宏,我目前TANK用
/ P=PickupInventoryItem;PC=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(4,16));if(oi) then P(17);PC(4,15);else P(17);PC(4,16);end;P(16);PC(4,14);end /施放 战斗姿态
/ P=PickupInventoryItem;C=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(4,16));if(oi) then P(17);C(4,15);C(4,16);AutoEquipCursorItem();end;else C(4,14);P(16);C(4,16);P(17);end /施放 防御姿态
/ P=PickupInventoryItem;PC=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(4,15));if(oi) then P(17);PC(4,16);PC(4,15);AutoEquipCursorItem();end;else PC(4,14);P(16);PC(4,15);P(17);end /施放 狂暴姿态
最后一个背包的最后3个格分别放,主手/双手(4,14),副手(4,15),盾牌(4,16)
一、从任意姿态任意武器切换到战斗姿态双手武器
/ P=PickupInventoryItem;PC=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(背包,盾牌格));if(oi) then P(17);PC(背包,副手武器格);else P(17);PC(背包,盾牌格);end;P(16);PC(背包,主手/双手格);end /施放 战斗姿态
二、从任意姿态任意武器切换到防御姿态主手武器+盾牌
/ P=PickupInventoryItem;C=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(背包,盾牌格));if(oi) then P(17);C(背包,副手武器格);C(背包,盾牌格);AutoEquipCursorItem();end;else C(背包,主手/双手格);P(16);C(背包,盾牌格);P(17);end /施放 防御姿态
三、从任意姿态任意武器切换到狂暴姿态双持武器
/ P=PickupInventoryItem;PC=PickupContainerItem;oi=(GetInventoryItemLink(player,17));if(oi) then oi=(GetContainerItemLink(背包,副手武器格));if(oi) then P(17);PC(背包,盾牌格);PC(背包,副手武器格);AutoEquipCursorItem();end;else PC(背包,主手/双手格);P(16);PC(背包,副手武器格);P(17);end /施放 狂暴姿态