#include <ansi.h>
#include <condition.h>

inherit F_CLEAN_UP;

int update_condition(object me, int duration)
{
   if( !living(me) ) {
      message("vision", me->name() + "痛苦地哼了一声。\n", environment(me), me);
   }
   else {
      tell_object(me, HIB "你只觉得胸腹犹如火焚，而四肢冰凉。\n" NOR );
      message("vision", HIB+me->name() + "“嗯”了一声，皱着的眉间隐隐透着一层黑晕。\n"NOR,
            environment(me), me);
   }
      me->receive_damage("qi", 80);
      if(userp(me))
           me->receive_wound("jing", 40+random(20));
      else me->receive_wound("jing", 50+random(30));      
	me->add_busy(1+random(2));
      me->apply_condition("tz_poison", duration - 100);
   if( duration < 1 ) return 0;
   return CND_CONTINUE;
}

