可能會有缺少傳點資料,請確認 tables\portals.txt 有下兩行
umbala 220 189 um_in 32 71
um_in 29 71 umbala 217 186

###土原分解###
automacro AutoM {
        location umbala
        inventory "土靈原石" > 0
        exclusive 1
        call {
        do move 32 71 um_in
        }
}
automacro AutoC {
        location um_in 32 71
        inventory "土靈原石" > 0
        macro_delay 0.5
        exclusive 1
        call {
        do talknpc 44 71 c c r1 c r0 c d10 c d9 c c n
# d10 是一次分解 10 個土原,d9 是他要你隨便選的數字
        }
}
automacro AutoS {
        inventory "土靈原石" == 0
        macro_delay 0.5
        exclusive 1
        call {
        do move @rand (85, 95) @rand (155, 159) umbala
        pause 0.7
        do talknpc 87 160 c r1 n
        pause 3
        do storage add 地靈礦石
        pause 0.7
        $a = @storamount (土靈原石)
        $b = 100
# 從倉庫取得土原數量
        if ($a < 500) goto stop
# 倉庫的土原($a)小於多少時結束
                do storage get 土靈原石 $b
                pause 0.7
                do storage close
                stop
        :stop
                do relog 36000
        }
}


 


由手心向太陽大大分享

arrow
arrow
    全站熱搜

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