宁德生活圈

网站首页 科技 > 正文

魔兽换武器宏命令(魔兽世界战士换武器宏)

2022-10-12 02:48:44 科技 来源:
导读 大家好,乐天来为大家解答以下的问题,关于魔兽换武器宏命令,魔兽世界战士换武器宏这个很多人还不知道,现在让我们一起来看看吧!1、我把我

大家好,乐天来为大家解答以下的问题,关于魔兽换武器宏命令,魔兽世界战士换武器宏这个很多人还不知道,现在让我们一起来看看吧!

1、我把我的收藏拿出来了~Bag:物品存放背包编号Slot:物品存放格子编号MainhandBag:备用主手武器存放背包编号MainhandBagSlot:备用主手武器存放格子编号OffhandBag:备用副手武器存放背包编号OffhandBagSlot:备用副手武器存放格子编号TwohandsBag:备用双手武器存放背包编号TwohandsBagSlot:备用双手武器存放格子编号4.A对主手武器或双手武器使用砺石/scriptUseContainerItem(Bag,Slot)/scriptPickupInventoryItem(16)4.B更换备用主手武器或双手武器/scriptUseContainerItem(Bag,Slot)/scriptPickupInventoryItem(16)副手的对应宏,将16换为17即可。

2、4.C切换主手武器和副手武器/scriptPickupInventoryItem(16);PickupInventoryItem(17)盗贼可以用这个宏来互换手中的剑与匕首。

3、4.D双手武器->(主手武器+副手物品)/scriptPickupContainerItem(MainhandBag,MainhandBagSlot)/scriptPickupInventoryItem(16)/scriptPickupContainerItem(TwohandsBag,TwohandsBagSlot)/scriptPickupContainerItem(OffhandBag,OffhandBagSlot)/scriptPickupInventoryItem(17)(主手武器+副手物品)->双手武器/scriptPickupInventoryItem(17)/scriptPickupContainerItem(OffhandBag,OffhandBagSlot)/scriptPickupContainerItem(TwohandsBag,TwohandsBagSlot)/scriptPickupInventoryItem(16)/scriptPickupContainerItem(MainhandBag,MainhandBagSlot)副手物品可以是盾牌、副手武器、副手装备品。

4、注意以上几个宏使用之时,鼠标上不要拖有物品,否则会出错。

5、如要避免,可以使用CursorHasItem()来进行预判断。

6、参看下面的几个宏:4.E(主手武器+副手物品)<->(单手武器+副手物品)/scriptif(notCursorHasItem())thenPickupContainerItem(mainhandBag,mainhandBagSlot);PickupInventoryItem(16);PickupContainerItem(mainhandBag,mainhandBagSlot);PickupContainerItem(offhandBag,offhandBagSlot);PickupInventoryItem(17);PickupContainerItem(offhandBag,offhandBagSlot);end4.F单主手武器或双手武器->(主手武器+副手物品)/scriptif(notCursorHasItem())thenPickupContainerItem(mainhandBag,mainhandBagSlot);PickupInventoryItem(16);PickupContainerItem(mainhandBag,mainhandBagSlot);PickupContainerItem(offhandBag,offhandBagSlot);PickupInventoryItem(17);if(CursorHasItem())thenPickupContainerItem(offhandBag,offhandBagSlot);endend(主手武器+副手物品)->单主手武器或双手武器/scriptif(notCursorHasItem())thenPickupInventoryItem(17);if(CursorHasItem())thenPickupContainerItem(offhandBag,offhandBagSlot);endPickupContainerItem(mainhandBag,mainhandBagSlot);PickupInventoryItem(16);PickupContainerItem(mainhandBag,mainhandBagSlot);end4.G更换备用主手武器/scriptif(notCursorHasItem())thenPickupContainerItem(mainhandBag,mainhandBagSlot);PickupInventoryItem(16);PickupContainerItem(mainhandBag,mainhandBagSlot);end。

本文分享完毕,希望对大家有所帮助。


免责声明: 本文由用户上传,如有侵权请联系删除!


标签: