Как сделать?
bow/kryss + shield/sword + shield
Переключение между 3 оружиями на 1 кнопку
Moderators: Murderator+, Murderator
вчера написал
тут сворд, крис, лонгсворд, скимитар, катана

Code: Select all
sub Weap3()
uo.findtype("0x13B1", "backpack")
if uo.findcount()>0 then
UO.UseType('0x13B1')
wait(100)
else
UO.Findtype( '0x13B9' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13B9")
else
UO.Findtype( '0x1400' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x1400")
else
UO.Findtype( '0x13FE' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13FE")
else
UO.Findtype( '0x0F5E' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x0F5E")
else
UO.Findtype( '0x13B5' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13B5")
else
end if
end if
end if
end if
end if
UO.Attack('laststatus')
uo.waittargettype('laststatus')
end sub
тут сворд, крис, лонгсворд, скимитар, катана
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Code: Select all
sub Weap3()
uo.findtype("0x13B1", "backpack")
if uo.findcount()>0 then
UO.UseType('0x13B1')
wait(100)
else
UO.Findtype( '0x13B9' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13B9")
else
UO.Findtype( '0x1400' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x1400")
else
UO.Findtype( '0x13FE' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13FE")
else
UO.Findtype( '0x0F5E' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x0F5E")
else
UO.Findtype( '0x13B5' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13B5")
else
end if
end if
end if
end if
end if
UO.Attack('laststatus')
uo.waittargettype('laststatus')
end sub
А вы говорите молодец... Чего только вторая строка стоит -)
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom