/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
切換防禦姿態換盾
/施放 防禦姿態
/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兩格