//Just Change ID of Potion, Delay(?), Min Health, Numbers of Vials to Drink.
Const
MinHealth = 400 // minimalne hp
NumberOfVialsToDrink = 1 // ile potków ma pić
IDPotion = 266 // ID potka
Delay = 10 // in seconds

while not terminated do
begin
UpdateWorld;
if Self.Health <= MinHealth then
begin
for i := 1 to NumberOfVialsToDrink do
begin
if (i >= NumberOfVialsToDrink + 1) or (terminated = true) then break;
Self.Containers.UseItemWithSelf(IDPotion);
Sleep(Delay*1000);
end;
end;
Sleep(500);
end;


Linki sponsorowane