automacro start {
map gonryun
call create
run-once 1
timeout .5
}
macro create {
do ss 228 10
do send 8E 01 E3 1B 00 00 00 00 00 00
pause 0.5
release start
}
automacro relog {
pubm "relog"
call relog
run-once 1
}
macro relog {
do c relog muna
do relog
release start
}
automacro InventoryCheck {
inventory "Empty Bottle" = 0
inventory "Heart of Mermaid" = 0
inventory "Alcohol" = 0
inventory "Zenorc's Fang" = 0
inventory "Medicine Bowl" = 0
call refill
run-once 1
exclusive 1
}
macro refill {
do c ay ubus na ang stuck
do c @storage
pause 1
do storage get @storage (Empty Bottle) 300
do storage get @storage (Heart of Mermaid) 300
do storage get @storage (Alcohol) 300
do storage get @storage (Zenorc's Fang) 300
do storage get @storage (Medicine Bowl) 300
pause 3
do storage close
pause 1
do c eto na
release start
}
automacro relog {
console /Skill Pharmacy failed/i
goto automacro InventoryCheck
release start
}