In the Kithgard Brawl healing potins spawn sometimes. I tried to send a pet (cougar) to fetch the potion - it listens, however the knight stops fighting while the pet fetches.
Is it somehow possible to command the pet to fetch while the fighter contiues to battle? Something similar to the swap of moveXY to move?
var potFetch = function()
{
while ( true )
{
var pot = hero.findByType( "potion" )[ 0 ];
if ( pot )
{
pet.fetch( pot );
}
}
}
pet.on( "spawn", potFetch );