123457441 发表于 2024-7-20 14:59:25

一键摧毁灵魂碎片宏

背包每次灵魂碎片太多,求一个一键摧毁灵魂碎片宏,网上搜的一些都用不了,谢谢!

123457125 发表于 2024-7-20 15:08:32

摧毁碎片宏已经不好用了。
银行放20个碎片
身上带12个碎片。不用灵魂袋,就用霜纹包。还能空出8格放东西。

里脊鱼鱼si 发表于 2024-7-20 15:23:07

你放银行一部分,这样包里就不会太多了

旭日非常 发表于 2024-7-20 15:34:21

你放银行一部分,这样包里就不会太多了包里的用完会自动使用银行的吗

恶贯满瘾锥 发表于 2024-7-20 15:39:22

chatGPT 教的,亲测好用,一次销毁5个/run local count = 0 for b=0,4 do for s=1,GetContainerNumSlots(b) do local n=GetContainerItemLink(b,s) if n and string.find(n,"灵魂碎片") then PickupContainerItem(b,s) DeleteCursorItem() count = count + 1 if count >= 5 then return end end end end

chris是小胖纸 发表于 2024-7-20 15:55:04

#showtooltip 灵魂碎片
/run local stop for i=0,4 do for j=1,28 do local item=GetContainerItemLink(i,j) if item and item:find("灵魂碎片") then PickupContainerItem(i,j) DeleteCursorItem() stop=1 break end end if stop==1 then break end end正在使用,好用的一批

特朗普大爷 发表于 2024-7-20 16:07:25

用不了,是不是断行有问题

沙941 发表于 2024-7-20 16:14:40

摧毁碎片宏已经不好用了。
银行放20个碎片
身上带12个碎片。不用灵魂袋,就用霜纹包。还能空出8格放东西。意思碎片上限只能20个吗?那还真不错

巴拿巴 发表于 2024-7-20 16:35:11

chatGPT 教的,亲测好用,一次销毁5个/run local count = 0 for b=0,4 do for s=1,GetContainerNumSlots(b) do local n=GetContainerItemLink(b,s) if n and string.find(n,"灵魂碎片") then PickupContainerItem(b,s) DeleteCursorItem() count = count + 1 if count >= mark一下 谢谢分享

快乐人L 发表于 2024-7-20 16:38:36

#showtooltip 灵魂碎片
/run local stop for i=0,4 do for j=1,28 do local item=GetContainerItemLink(i,j) if item and item:find("灵魂碎片") then PickupContainerItem(i,j) DeleteCursorItem() stop=1 break end end if stop==1 then break end end正在使用,好用的一批我拷贝了用不了
页: [1] 2
查看完整版本: 一键摧毁灵魂碎片宏