| Yoko http://forum.yoko.com.ua/ |
|
| Poison- Target sight http://forum.yoko.com.ua/viewtopic.php?f=17&t=17517 |
Page 1 of 1 |
| Author: | opa [ 2014-12-03 00:59:21 ] |
| Post subject: | Poison- Target sight |
Hello, i am brazillian player and i was making this script to cast automatically poison as soon the other player get in my target sight. But there is one problem... the script keeps running even if the target get poisoned or if i am disturbed . I wondering if you guys can help me to make the script cast poison and if the player get poisoned the script stop runnning... Sorry for my english sub poison() repeat uo.cast('Poison','laststatus') CastWait() wait(600) until not uo.injournal('Target fora da linha de visao') repeat wait(100) end sub Sub CastWait() var LastMana=UO.Mana UO.DeleteJournal() REPEAT If LastMana > UO.Mana or UO.InJournal("Target fora da linha de visao") Then return Else If LastMana < UO.Mana Then LastMana = UO.Mana End If End If Wait(250) Until UO.Dead() end sub |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|