2016-10-10

[Openkore]自動買箭矢放倉庫

============config.txt============ buyAuto 箭矢 { npc payon_in01 15 119 distance 5 minAmount 0 maxAmount 2000 } 以下需關閉 sellAuto 0 storageAuto 0 ============items_control.txt============ all 0 箭矢 0 箭矢筒 0 1 0 ============macros.txt============ automacro AutoBuyArrowQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ { location payon,payon_in01 zeny > 100000 #做到身上剩多少錢 exclusive 1 call { if (@invamount (箭矢) >= 800 ) { do move payon_in01 5 133 #銀箭矢 do talknpc 5 134 c c c c r5 c r0 c c r0 n #箭矢 #do talknpc 5 134 c c c c r0 c r0 c c r0 n } if (@invamount (箭矢筒) > 70) { do autostorage } if (@invamount (箭矢) == 0) { do autobuy } if (@invamount (箭矢筒) <= 70) { do autobuy } } }

沒有留言:

張貼留言