if uo.poisoned() then

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

if uo.poisoned() then

Post 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()
Egrace
Posts: 29
Joined: 2009-03-23 18:05:30

Post by Egrace »

Code: Select all

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

Попробуй
Successful
Posts: 174
Joined: 2008-12-13 00:00:15

Post by Successful »

задержку поставить надо )
DreadLord
Posts: 42
Joined: 2009-02-28 15:02:09
Location: Украина
Contact:

Post 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('[Пиип-пииип-пииииииии] Пользователь мертв.')

Попробуй
///
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

spasiba rabotaet.
Post Reply