####由以下開始設定####
automacro chatroom {
console /開啟傳送之陣/
call {
do move @rand 1 200
do chat create "請別傳我" 2 0 54321
pause 28
do chat leave
}
}
automacro 等魔力 {
status not 魔力劍狀態
run-once 1
timeout 5
call {
do follow 廣式炒麵
release all
}
}
automacro 魔力中 {
status 魔力劍狀態
run-once 1
timeout 5
call {
do follow stop
release all
}
}
automacro smove {
call sm
timeout 4
exclusive 1
}
macro sm {
$t++
log times $t
if ($t == 1) goto tsmp
if ($t == 2) goto tsmp1
stop
:tsmp
call smp
stop
:tsmp1
call smp1
stop
}
macro smp {
$nopos = $.pos
$noposx = @arg ("$nopos", 1)
$noposy = @arg ("$nopos", 2)
}
macro smp1 {
$nopos = $.pos
$noposx1 = @arg ("$nopos", 1)
$noposy1 = @arg ("$nopos", 2)
log old $noposx $noposy new $noposx1 $noposy1 times $t
if ($noposx == $noposx1 & $noposy == $noposy1) goto dm
release smove
$t = 0
stop
:dm
$neposx2 = @eval ($noposx1 + @rand (-1, 2))
$neposy2 = @eval ($noposy1 + @rand (-1, 2))
do move $neposx2 $neposy2
log move $neposx2 $neposy2
release smove
$t = 0
stop
}
automacro tini {
run-once 1
call ti
}
macro ti {
$t = 0
}
#營地到史波浪
automacro movetospl {
location mid_camp 15 146
exclusive 1
overrideAI 1
run-once 1
call {
do talknpc 13 143 c r0
pause 2
release movetospl
}
}
#營地到魔怒克
automacro movetoman {
location mid_camp 338 168
exclusive 1
overrideAI 1
run-once 1
call {
do talknpc 336 171 c r0
pause 2
release movetoman
}
}
#裂縫到夢羅克
automacro movetomoc {
location moc_fild20 349 174
exclusive 1
overrideAI 1
run-once 1
call {
do talknpc 354 174 c r1 c c c c c r1 c c r1
pause 2
release movetomoc
}
}
automacro 武器防禦 {
console /You use 武器防禦 on yourself/
call 反擊斬
}
macro 反擊斬 {
do sm 2029 a $.lastMonster
do sm 2029 a $.lastMatch2
release all
}
automacro ADDHP {
console /您正坐著/
run-once 1
timeout 5
call {
do ss 358
release ADDHP
}
}
automacro war {
status 卸除武器狀態
exclusive 1
call {
do charselect
}
}
這我的巨集 她跑一跑一下就會出現 有BUG 要按ENTER結束程式
請問我的巨集是有哪裡有問題嗎? |
|