Forum o bocie TibiaNG oraz ElfBotNG
[hide]
//Just Change ID of Potion, Delay(?), Min Health, Numbers of Vials to Drink. Const MinHealth = 100 // min Healh NumberOfVialsToDrink = 1 // how many health fluids to drink IDPotion = 266 // ID of Potion 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;[/hide]
Offline