automacro kittyheal_hp {
location prontera              
hp <= 90%
call heal
}

macro heal {
move 152 182 prontera  
talknpc 150 184 c r0
}

####################

automacro pereves {
location lhz_dun03
weight > 50%
call sell
}

macro sell {
do c @warp comodo 293 122
do autosell
}


automacro whenrespawn {
location comodo
weight < 50%
call warp
}

macro warp {
do c @warp lhz_dun03
eval AI::clear("sellAuto");
@release pereves
}

####################

automacro Buff {
        pubm /buff/,10
        call buff
}

automacro agi {
        pubm /agi/,10
        call buff
}

automacro buffs pls {
        pubm /buffs pls/,10
        call buff
}

automacro bless {
        pubm /bless/,10
        call buff
}

macro buff {
        pause 0.5
        do sp 34 $.lastpub
        pause 0.5        
        do sp 29 $.lastpub
}

####################

automacro heal {
        pubm /heal/,10
        call heal
}

macro heal {
        pause 1
        do sp 28 $.lastpub
        pause 0.5
        do sp 28 $.lastpub
}
