Page 1 of 1

Парализ со скрола

Posted: 2005-09-20 14:48:41
by saki99
Помоги изменить скрипт чтоб чар кастовал парализом не из спела а из скрола!!!!

Code: Select all

sub Paral()
UO.Set('lasttarget','laststatus')
UO.FindType('0x1F52',-1,'my')
If UO.GetQuantity('finditem')>0 then
if UO.Mana>=14 then
UO.WaitTargetObject('lasttarget')
UO.UseObject('finditem')
UO.Print("Scroll")
else
UO.Print("Low mana!!! Scroll!")
endif
else
if UO.Mana>=28 then
UO.Cast('Paralyze','laststatus')
UO.Print("Spell")
else
UO.Print("Low mana!!! Spell!")
endif
endif
end sub

Posted: 2005-09-20 14:54:30
by Leo
По-моему он и так кастует со скрола. Проверь тип.

Posted: 2005-09-20 18:37:14
by Unreal Pro Bw
у тебя сцп по мане смотрит с чего кидать... :lol: