sábado, 5 de julho de 2008

Usar 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);// Id da poção usada
Sleep(1000);
end;
end;

Nenhum comentário: