由天國marksky提供分享

 


 


#####
# 裴揚大神大鋁交換

automacro initiate1 {
        location payon 138 173
        inventory "鋁原石" < 5
        inventory "神之金屬原石" < 5
        storage "鋁原石" >= 5
        storage "神之金屬原石" >= 5
        run-once 1
        call start
}
automacro initiate2 {
        location payon 138 173
        inventory "鋁原石" < 5
        inventory "神之金屬原石" < 5
        storage "鋁原石" < 5
        storage "神之金屬原石" >= 5
        run-once 1
        call start
}
automacro initiate3 {
        location payon 138 173
        inventory "鋁原石" < 5
        inventory "神之金屬原石" < 5
        storage "鋁原石" >= 5
        storage "神之金屬原石" < 5
        run-once 1
        call start
}
macro start {
        do move 177 105 payon
        pause 1
        do talk @npc(181 104)
        pause 1
        do talk cont
        pause 1
        do talk resp 1
        pause 2
        do storage add 鋁
        pause 1
        do storage add 神之金屬
        pause 1
        do storage get @storage(鋁原石) @eval(110 - @invamount(鋁原石))
        pause 1
        do storage get @storage(神之金屬原石) @eval(220 - @invamount(神之金屬原石) - @invamount(鋁原石))
        pause 1
        do storage close
        pause 1
        do p 鋁原石尚餘 @storamount(鋁原石) 個
        pause 1
        do p 神之金屬原石尚餘 @storamount(神之金屬原石) 個
        pause 1
        do p 鋁庫存 @storamount(鋁) 個
        pause 1
        do p 神之金屬庫存 @storamount(神之金屬) 個
        pause 1
        release all
        pause 1
        do move 138 173
}
automacro roughEluniumCheck {
        location payon 138 173
        inventory "鋁原石" >= 5
        run-once 1
        call changeElunium
}
macro changeElunium {
        do talk @npc(137 178)
        pause 1
        do talk cont
        pause 1
        do talk resp 1
        pause 1
        release roughEluniumCheck
}
automacro roughOrideconCheck {
        location payon 138 173
        inventory "鋁原石" < 5
        inventory "神之金屬原石" >= 5
        run-once 1
        call changeOridecon
}
macro changeOridecon {
        do talk @npc(137 178)
        pause 1
        do talk cont
        pause 1
        do talk resp 0
        pause 1
        release roughOrideconCheck
}


arrow
arrow
    全站熱搜

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