In macros.txt
Code: Select all
automacro HP Increase Potion(Large) {
sp > 10%
inventory "White Herb" >= 15
inventory "Mastela Fruit" >= 3
inventory "Empty Bottle" >= 10
inventory "Holy Water" >= 1
inventory "Hot Sauce" >= 1
timeout 1
run-once 1
call {
do ss 2497
pause 0.1
do send 5B 02 06 00 88 30
release HP Increase Potion(Large)
}
}
Code: Select all
getAuto White Herb {
minAmount 4
maxAmount 200
passive
}
getAuto Mastela Fruit {
minAmount 4
maxAmount 200
passive
}
getAuto Empty Bottle {
minAmount 4
maxAmount 200
passive
}
getAuto Hot Sauce {
minAmount 4
maxAmount 200
passive
}
Code: Select all
automacro buffall {
status not Stew Of Immortality
sp < 10
run-once 1
exclusive 1
timeout 1800
call {
pause 1
do respawn
pause 3
call buff
}
}
macro buff {
if ($.map = *******) call *******
}
macro ******* {
do move X Y
do talknpc 205 184 c c c c c c r0 c c c n
call end
}
X Y = Coordinates
Sorry i'am noob english ^^