請問各位大大 我如果設定 呼叫補師巨集
還需要在 overallAuth 打補師名子 1嗎?
另外這2個巨集可以共用嗎?
automacro smove {
call sm
timeout 180
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 psit {
console /You are sitting./
call ps
}
macro ps {
$nopos = $.pos
$noposx = @arg ("$nopos", 1)
$noposy = @arg ("$nopos", 2)
do pm ☆、戀雪×小漾φ my partner move $noposx $noposy please
}
automacro phelp {
hp < 80%
call ps
timeout 5
} |