config.txt設定:
==================
itemsGatherAuto 2


timeouts.txt設定:
==================
因為是撿地上的物品
所以有可能是剛剛別人打完怪才掉的
那就沒辦法馬上撿起來


所以把timeouts裡面的設定改成這樣.....


ai_take_giveup 25
ai_items_gather_giveup 25


 


macros.txt設定:
==================
地上有東西op常常都不去撿
那就從下面這些巨集選一組去用就會撿了


什麼都撿:
automacro takeitemo {
console /Item Exists: (.*) \((.*)\) (.*)/
call tio
timeout 2
}
macro tio {
log $.lastMatch1 $.lastMatch2
do take $.lastMatch2
}
automacro takeitemo1 {
console /Item Appeared: (.*) \((.*)\) (.*)/
call tio
timeout 2
}
automacro takeitemo2 {
console /出現物品: (.*) \((.*)\) (.*)/
call tio
timeout 2
}
===================


只撿特定物品:(自己改物品名)
automacro takeitem {
console /Item Exists: 紙妖卡片 \((.*)\) (.*)/
call ti
exclusive 1
timeout 2
}
macro ti {
log 紙妖卡片 $.lastMatch1
do take $.lastMatch1
}
automacro takeitem1 {
console /Item Appeared: 紙妖卡片 \((.*)\) (.*)/
call ti
exclusive 1
timeout 2
}
automacro takeitem2 {
console /出現物品: 紙妖卡片 \((.*)\) (.*)/
call ti
exclusive 1
timeout 2
}
=====================


下面這個巨集是我隨手寫的
還沒測試過......
用了有問題再回文
某些東西不撿:
自己增加 if 並改不撿的物品名
automacro take {
console /Item Exists: (.*) \((.*)\) (.*)/
call t
timeout 2
}
macro t {
log $.lastMatch1 $.lastMatch2
if ($.lastMatch1 == 柔毛) goto no
if ($.lastMatch1 == 毛) goto no
do take $.lastMatch2
stop
:no
log i don't need this $.lastMatch1
stop
}
automacro take1 {
console /Item Appeared: (.*) \((.*)\) (.*)/
call t
timeout 2
}
automacro take2 {
console /出現物品: (.*) \((.*)\) (.*)/
call t
timeout 2
}

arrow
arrow
    全站熱搜

    aaa1314 發表在 痞客邦 留言(0) 人氣()