Ir para conteúdo

[Tutorial] Treinando com Slimes p/ Knights e Paladins

Featured Replies

  • Respostas 30
  • Visualizações 29k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Como esse script é para NG isso deveria estar na area de # TibiaBot NG # Dicas e Tutoriais Reported

  • Área errada. Tópico Movido.

  • @rafuskao Cara, eu testei com meu Knight. Usando os melhores itens da lista que eu coloquei ali, e ainda um RH ao invés do Crusader Helmet, eu só consegui aguentar os Slimes no lvl 30. No lvl 20

Postado

Mohammed, follow + attack juntos é impossível. #Fato

Mas você precisa dar follow na slime mãe para que o NG saiba que aquele slime X é o slime que nãoo pode ser atacado.

Então depois de ter dado o follow, não ataque e execute o script.

Perceba que ele vai tirar o follow e atacar o clone e a partir dai ele não rela na mãe.

Postado

Tenta usar esse script aqui, é slime trainer + healer (Configura a magia no inicio do script)

const 

  	Spell = 'exura ico'

  	Food_Id = 3578; //change this to the food you have on you 

  	MinMana = 1800;  // change this to the mana when it starts to eat 

  	StrongWeaponID = 3264 // The weapon that will kill mother slime When KillAtHP 

  	HealAtHp = 550 // will use exura when get this hp  

  	UhAtHp = 0  // will uh you if it get this HP 

  	ITEM_RUNE_UH = 0 // enter here UH or IH to use in desired HP.

  	KillAtHp= 500 // when it get this hp it will kill the mother slime 

var 

StrongWeapon:TItem; 


function GetItemFromOpenBackpack(ID: integer): TItem; 

var 

  x: integer; 

  y: integer; 

begin 

  Result := nil; 

  for x := 0 to Self.Containers.Count - 1 do 

  begin 

	if x >= Self.Containers.Count then Break; 

	for y := 0 to Self.Containers.Container[x].Count - 1 do 

	begin 

  	if y >= Self.Containers.Container[x].Count then Break; 

  	if Self.Containers.Container[x].Item[y].ID = ID then 

  	begin 

    	Result := Self.Containers.Container[x].Item[y]; 

    	Exit; 

  	end; 

	end; 

  end; 

end; 


function Attacking: boolean; 

begin 

   UpdateWorld; 

   for x := 0 to Creatures.Count - 1 do 

   begin 

 	UpdateWorld; 

 	if Creatures.Creature[x].Attacking then 

 	begin 

    	Result := True; 

    	Exit; 

 	end; 

   end; 

   Result := False; 

   Exit; 

end; 


function GetFollowedCreatureID: integer; 

begin 

   UpdateWorld; 

   for x := 0 to Creatures.Count - 1 do 

   begin 

  	UpdateWorld; 

  	if Creatures.Creature[x].Following then 

  	begin 

     	Result := Creatures.Creature[x].ID; 

     	Exit; 

  	end; 

   end; 

end; 


begin

  updateworld; 

  MotherSlime := GetFollowedCreatureID; 

  while not Terminated do 

  begin 

	UpdateWorld; 

	if self.LogoutBlock=false then self.Logout(false);  

	if ((Self.Health) <(HealAtHp)) and ((Self.Mana)>(25)) then 

	Self.Say(Spell) 

	UpdateWorld; 

	if ((Self.Health) <(UhAtHp)) then Self.Containers.UseItemWithSelf(GetItemFromOpenBackpack(ITEM_RUNE_UH)); 

	Sleep(1000); 

	if not Attacking then 

	begin 

  	UpdateWorld; 

  	for x := 0 to Creatures.Count - 1 do 

  	begin 

    	UpdateWorld; 

    	if Creatures.Creature[x].ID <> MotherSlime then 

    	begin 

      	if (Creatures.Creature[x].Name <> Self.Name) and (Creatures.Creature[x].NPC) and (Creatures.Creature[x].Z = Self.Z) then 

      	begin 

        	UpdateWorld; 

        	X1 := Creatures.Creature[x].X; 

        	Y1 := Creatures.Creature[x].Y; 

        	if (X1 - Self.X = 1) or (X1 - Self.X = 0) or (X1 - Self.X = -1) then 

        	begin 

          	UpdateWorld; 

          	if (Y1 - Self.Y = 1) or (Y1 - Self.Y = 0) or (Y1 - Self.Y = -1) then 

          	begin

            	Creatures.Creature[x].Attacking := true; 

            	Break; 

          	end; 

        	end; 

      	end; 

    	end; 

  	end; 

	end; 

	else 

	begin 

  	if self.Health < KillAtHp then 

  	Begin 

    	UpdateWorld; 

    	for x := 0 to Creatures.Count - 1 do 

    	begin 

      	UpdateWorld; 

      	if Creatures.Creature[x].ID = MotherSlime then 

      	begin 

        	if (Creatures.Creature[x].Name <> Self.Name) and (Creatures.Creature[x].NPC) and (creatures.creature[x].Z = self.Z) then 

        	Creatures.Creature[x].Attacking := true; 

        	StrongWeapon:= GetItemFromOpenBackpack(StrongWeaponID); 

        	if  StrongWeapon <> nil then 

        	StrongWeapon.MoveToBody(Self.RightHand, 0); 

        	Break; 

      	end; 

    	end; 

  	end; 

  	if Self.Mana < MinMana then 

  	begin 

    	UpdateWorld; 

    	for container := 0 to Self.Containers.Count - 1 do 

    	begin 

      	UpdateWorld; 

      	for item := 0 to Self.Containers.Container[container].Count - 1 do 

      	begin 

        	UpdateWorld; 

        	if Self.Containers.Container[container].Item[item].ID = Food_Id then 

        	Self.Containers.Container[container].Item[item].Use; 

      	end; 

    	end; 

  	end; 

	end; 

	Sleep(1000); 

  end;

end; 

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo