What's new

- TibiaBot NG Leczenie si? na rooku

Status
Not open for further replies.

steryl

User
Joined
Dec 25, 2010
Messages
28
Reaction score
0
Siema poszukuj? skrypta na health potion na rooku
niestety nie mam ID potiona bo nigdzie nie znalaz?em ;/
je?eli zamieszczacie jakie? informacje opisowe zr?bcie to w innym kolorze :)
tibia bot 5.0.2 najnowsza tibia :)
 

Acetone

Active User
Joined
Nov 22, 2010
Messages
108
Reaction score
35
Odp: Leczenie si? na rooku

Code:
const
MinHealth = 50;
ID_Potion = 7876;
NumberOfVialsToDrink = 1;
Delay = 2;

var
I: Integer;

begin
while not Terminated do
begin
UpdateWorld;
if Self.Health <= MinHealth then
for I:=1 to NumberOfVialsToDrink do
begin
if (Terminated) then break;
Self.Containers.UseItemWithSelf(ID_Potion);
Sleep(Delay*1000);
end;
Sleep(500);
end;
end;

@edit
Na pocz?tku masz min health ile ma mie? hp ?eby si? uleczy?.
Id potiona ju? da?em.
I trzecia linijka to ile ma u?y? potk?w
Regards,
Acetone
 
Last edited:

steryl

User
Joined
Dec 25, 2010
Messages
28
Reaction score
0
Odp: Leczenie si? na rooku

mo?e ID small health potion?
i ?eby gdy spadnie do tej ilo?ci HP u?ywa? jednego potka a nie 2x
 
Status
Not open for further replies.
Top