Ребят, еще одна просьба будет, для полного счастья. Може кто накарябать тут простенький скриптик, задача которого будет:
Один чар убвиает второго, потом ресает его с бинтов, потом вновь убивает и т.д. (но-стопом)
Res->Kill (скриптик)
Moderators: Murderator+, Murderator
-
Scripts Writer
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
Code: Select all
sub bb()
var 4el = '0x023E', 4elid
while true
uo.findtype(4el,-1,'ground')
if uo.findcount() > 0 then
4elid = uo.getserial('finditem')
uo.warmode(true)
uo.attack(4elid)
wait(10000)
else
if uo.gethp() < uo.str then
uo.bandageself()
wait(5000)
end if
end if
uo.waittargetobject('0x00288D0E')
uo.useType('0x0E21')
wait(5000)
wend-
Scripts Writer
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
Code: Select all
sub bb()
var chel = '0x023E' ; Тип чела
var chelid
while true
uo.findtype(chel,-1,'ground')
if uo.findcount() > 0 then
chelid = uo.getserial('finditem')
uo.warmode(true)
uo.attack(chelid)
wait(10000)
else
if uo.gethp() < uo.str then
uo.bandageself()
wait(5000)
end if
end if
uo.waittargetobject('0x00288D0E')
uo.useType('0x0E21')
wait(5000)
wend
end sub
Last edited by Scripts Writer on 2006-03-15 14:42:59, edited 1 time in total.
-
Scripts Writer
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact: