
ignoreitem reset

chooseskill Tinker real

Call Apuntar %Creador -1
if %1 = -1
  {
   event sysmessage fallo de apuntar creador
   exit
 }
set %ActivadorID #FINDID


BucleDeTinker:
IF %GanzuasOBotes <> Ganzuas
  {
      msg $,waitmenu Calder Herram Herram frascos$
  }
IF %GanzuasOBotes = Ganzuas
  {
    if #SKILL <= 485
         msg $,waitmenu Calder Herram Herram frascos$
    if #SKILL > 485
            msg $,waitmenu Calder Herram Herram ganzua$
  }

 set #LOBJECTID %ActivadorID
 event macro 17 0
 
 Set %Timeout #SCNT + %tiempoF

If %ProductoStack = 0
  {
 call apuntar %ProductoFinal -1
 If %1 <> -1
    Call DRAG #FINDID 717 297 ALL
  }
 Set %Delay %Timeout - #SCNT
 Set %Delay %Delay * 20
 wait %Delay

findetinker:
 if #contkind in WNF_AECB
    {
     click 46 57 r
     wait 10
    }
 
;Comprobamos la cantidad de MP en la mochila
  Call RecursosEnMochila  
  IF %NecesitoRecargar = SI
  {
       If %ProductoStack = 1
           {
            call apuntar %ProductoFinal -1
            If %1 <> -1
            Call DRAG #FINDID 717 297 ALL
            }
    exit
   }

goto BucleDeTinker:

