Page 1 of 1

if uo.poisoned() then

Posted: 2009-04-04 15:47:15
by Bangbuss
pomagite sozdat' skript 6tob kaktoka poisoned char kidaet na sebja cure.

Code: Select all

while not uo.dead()
if uo.poisoned() then
uo.cast('Cure','self')


nado dalshe esli fizzle to eshe raz kastuet, kastuet poka

Code: Select all

not uo.poisoned()

Posted: 2009-04-04 21:22:20
by Egrace

Code: Select all

while not uo.dead() 
   while uo.poisoned()
     repeat
         uo.cast('Cure','self')
     until not uo.poisoned()
   wend
wend

Попробуй

Posted: 2009-04-04 21:34:55
by Successful
задержку поставить надо )

Posted: 2009-04-04 22:21:33
by DreadLord
Egrace wrote:

Code: Select all

while not uo.dead() 
  while uo.poisoned()
    uo.cast('Cure','self')
    wait(1000)
    uo.print('Морфий введен. ')
  wend
  wait(100)
wend
uo.print('[Пиип-пииип-пииииииии] Пользователь мертв.')

Попробуй

Posted: 2009-04-05 12:08:21
by Bangbuss
spasiba rabotaet.