Health Potion
const
PHealth = 245; //Life pra usar potion
while not Terminated do
begin
UpdateWorld;
if (Self.Health < PHealth) then
begin
Self.Containers.UseItemWithSelf(266);// configure conforme a poção usada
Sleep(1000);
end;
end;
const
PHealth = 245; //Life pra usar potion
while not Terminated do
begin
UpdateWorld;
if (Self.Health < PHealth) then
begin
Self.Containers.UseItemWithSelf(266);// configure conforme a poção usada
Sleep(1000);
end;
end;