Postado Maio 28, 2011 14 anos Olá gente, ta ai mais um script, vamos ver se consigo por mais alguns depois, rs. O que ele faz? Esse script faz com que você, numa hunt, tem o monstro mãe e tem os summons, ele faz com que você ignore os summons e vá direto pro monstro mãe. Muito bom né? Sim sim, isso vai facilitar a vida de vocês pra não confundirem mais o monstro real com o summon. Testado e aprovado. Const Name=['Dwarf Guard', 'Dwarf Soldier', 'Dwarf']; SwitchAt=30; // the % of the current attacked monster function GetPlace(st:string):integer; var x:integer; begin Result:=1000; for x:=Low(Name) To High(Name) do begin if Name[x]=st then Result:=x; end; end; function GetCreatureByID(ID: integer): TCreature; var x: integer; begin Result := nil; for x := 0 to Creatures.Count - 1 do begin if x >= Creatures.Count then Break; if Creatures.Creature[x].ID = ID then begin Result := Creatures.Creature[x]; Exit; end; end; end; function IsCreatureBesideYou(c: TCreature): boolean; begin UpdateWorld; Result := False; if (abs(c.X-self.X) <= 1) and (abs(c.Y-self.Y) <= 1) then begin if c.Z = self.Z then begin Result := True; end; end; end; var x:integer; b:boolean; begin while not terminated do begin b:=false; updateworld; If (Self.Attacking<>0) then begin Creature:=GetCreatureByID(Self.Attacking); if Creature<>nil then if SwitchAt= Creatures.Count then Break; if Creatures.Creature[x].NPC then if Creatures.Creature[x].z=self.z then if Creatures.Creature[x].Name<>self.name then if Creatures.Creature[x].Attacking = false then if IsCreatureBesideYou(Creatures.Creature[x]) then if GetPlace(Creature.Name)>GetPlace(Creatures.Creature[x].Name) then begin sleep(100); updateworld; Creatures.Creature[x].attacking:=true; B:=true; end; end; end; end; Sleep(100); end; end; Scan - VirusTotal 0/43 Ignorar summons - TibiaKing.com.rar Explicação • Name=['Dwarf Guard', 'Dwarf Soldier', 'Dwarf']; Aqui você deverá por o nome dos monstros que ignorar os summons, você pode por vários monstros para ignorar os summons, os que no script contém são apenas exemplos. Vou por no Find Me agorinha, cya (: Editado Maio 29, 2011 14 anos por Luis F. Lima (veja o histórico de edições)
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.