Use Gfb Com muitos Bixos

|

Const
MinMonsters = 5 //Qnatidade de Bixo na tela
GFB_ID = 0 // Id Da Gfb
Delay = 1600 // Exausted por runa (1000 = 1 segundo)
ShootOnSelf = 1 // 1: Usa a Runa no seu pé, 0: Usa a Runa no Monstro

while not terminated do
begin
A := 0;
UpdateWorld;
for i := 0 to creatures.count - 1 do
begin
if (i >= Creatures.Count) or (Terminated) then break;
if Creatures.Creature.Z = self.Z then
if Creatures.Creature.NPC then
A := A + 1;
end;
if A >= MinMonsters then
begin
if ShootOnSelf
then Self.Containers.UseItemWithSelf(GFB_ID)
else Self.Containers.UseItemWithCreature(GFB_ID,Creatures.Creature);
sleep(Delay);
end;
sleep(500);
end;

 

©2009 Tibia Scripts | Template Blue by TNB