Piszę z pamięci, więc może być źle:
auto 200 if [$attacked.name ? 'ghost'] {hmm target}
musi atakować ghosta.
Ostatnio zmieniony przez Niklass : 25-08-2009, 20:00
Had a dream, I was king, I woke up, still king...
Const
Spell = 'Utani Hur'
MinMana = 60
while not terminated do
begin
UpdateWorld;
if not self.hasting then
if self.mana >= MinMana then
Self.Say(Spell);
sleep(1000);
end;
Ostatnio zmieniony przez Game Support : 31-08-2009, 08:27
Const
MinMonsters = 5
GFB_ID = 0 // enter the ID of the GFB.
Delay = 1600 // Delay to shoot the rune in millseconds (1000 = 1 second)
ShootOnSelf = 1 // 1: use the rune on your self, 0: use the rune on one of the creatures.
while not terminated do
begin
A := 0;
UpdateWorld;
for i := 0 to creatures.count - 1 do
begin
if (i >= Creatures.Count) or (Terminated) then break;
if Creatures.Creature[i].Z = self.Z then
if Creatures.Creature[i].NPC then
A := A + 1;
end;
if A >= MinMonsters then
begin
if ShootOnSelf
then Self.Containers.UseItemWithSelf(GFB_ID)
else Self.Containers.UseItemWithCreature(GFB_ID,Creatures.Creature[i]);
sleep(Delay);
end;
sleep(500);
end;
Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)
Zakładki