но сволочь не поддается ...
может подскажите где я тупикую ?
Code: Select all
program Resist;
{$Include 'all.inc'}
const
RaneniX = 789;
RaneniY = 1472;
NeraneniX = 788;
NeraneniY = 1472;
NeraneniZ = 26;
procedure GoGo;
begin
repeat
wait(5000);
until ((GetX(self) = NeraneniX) and (GetY(self) = NeraneniY) and (GetZ(self) = NeraneniZ))
end;
BEGIN
while not dead do
begin
if (HP < MaxHP) then
begin
Hungry(1,ground);
GoGo;
end;
end;
END.