切换防御姿态换盾
/施放 防御姿态
/script oi=(GetInventoryItemLink("player",17)); if (not oi) then PickupContainerItem(1,1);PickupInventoryItem(16); PickupContainerItem(1,2); PickupInventoryItem(17); end;
切换战斗姿态换双手武器
/施放 战斗姿态(狂暴姿态) //战斗狂暴通用
/script oi=(GetInventoryItemLink("player",17)); if (oi) then PickupInventoryItem(17);PickupContainerItem(1,2); PickupContainerItem(1,1); PickupInventoryItem(16); end;
如果战斗姿态就是单手武器+盾牌的话切换姿态不会换武器
同理防御姿态已经是双手武器时切换战斗姿态也不会换武器
一键换武器,用法与作用:单手+盾和双手武器互相切换,只用一个键可以达到此效果
/script oi=(GetInventoryItemLink("player",17)); if (oi) then PickupInventoryItem(17);PickupContainerItem(1,2); end;PickupContainerItem(1,1);PickupInventoryItem(16); if (not oi) then PickupContainerItem(1,2);PickupInventoryItem(17); end
我小号战士一直用这4个宏的,宏里面的PickupContainerItem(1,1); 、PickupContainerItem(1,2)段中(1,2)就是你背包中相应的位置
我用(1,1)(1,2)就是从右向左数第一个旅者背包的最左上1,2两格