каст на землю
Posted: 2005-08-17 14:35:36
подскажите плиз
что надо зделать в скрипте что бы каст произвадился на землю?
что надо зделать в скрипте что бы каст произвадился на землю?
Code: Select all
sub Cure()
var x=0
var mx, my
mx = UO.GetX("self")
my = UO.GetY("self")
REPEAT
x=x+1
RecallMana()
UO.Print('Go to Home...')
UO.Cast('Create Food','tilenum')
uo.waittargettile('1195','803','702')
wait(3000)
Until UO.getx()<>mx and UO.gety()<>my or (x==3) or UO.Dead()
If UO.InJournal('The recall rune is starting to fade') Then
UO.print("Mark Rune")
REPEAT
UO.DeleteJournal()
MarkMana()
UO.Cast('Create Food','last')
uo.waittargettile('1195','803','702')
wait(3000)
Until NOT UO.InJournal('The spell fizzles') or UO.Dead()
UO.DeleteJournal()
EndIf
End sub