prosze o skrypt depositer z trolow na polnoc od thais, kopalnie dwarf wszystkie procz 1 bo juz mam, oraz roty obok venore. z gory dzieki.
auto 200 if [$mppc < 70] useoncreature ? self
Ostatnio zmieniony przez XaNeq : 01-05-2009, 16:26
Ostatnio zmieniony przez Holamablo : 02-05-2009, 14:25
Const
MonsterList = ['Rotworm']
function GetCreatureByName: TCreature;
var
x: integer;
begin
Result := nil;
for x := 0 to Creatures.Count - 1 do
begin
if x >= Creatures.Count then Break;
if Creatures.Creature[x].Z = Self.Z then
for i := low(MonsterList) to high(monsterlist) do
if Creatures.Creature[x].Name = MonsterList[i] then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;
While not terminated do
begin
UpdateWorld;
C := GetCreatureByName;
if C <> nil then
if not self.attacking then
C.Attacking := true;
sleep(100);
end;
Piszę poprawnie po polsku.
Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)
Zakładki