Does injection has a random option?
Loot[0]=0x0EED ; gp
Loot[1]=0x0F7B ; BM
Loot[2]=0x0F7A ; BP
Loot[3]=0x0F84 ; GA
Imagine i would like to choose one of them but random.
Can anyone helps? thanks
random!
Moderators: Murderator+, Murderator
Ага очень интересно. Может так?
Code: Select all
sub Loot()
DIM Loot[4]
Loot[0]=0x0EED ; gp
Loot[1]=0x0F7B ; BM
Loot[2]=0x0F7A ; BP
Loot[3]=0x0F84 ; GA
VAR i
UO.Set('finddistance', '3')
For i = 0 To 3
UO.FindType(str(uo.random(Loot[ i ])), -1,'ground')
UO.Grab(str(0),'finditem')
end sub
Шард Антарес
Ururu
Ururu
-
- Expert!
- Posts: 1032
- Joined: 2006-02-25 21:48:38