nextMoveTime_ = data;
Q_UNUSED( changedDirection ); unsigned int interval; bool passive = true;   if ( ai_ && ai_->currentAction() ) { passive = ai_->currentAction()->isPassive(); }   if ( passive ) { interval = wanderSpeed(); } else { interval = actionSpeed(); }   switch ( interval ) { case 200: interval = 300; break; case 250: interval = 450; break; case 300: interval = 600; break; case 400: interval = 900; break; case 500: interval = 1050; break; case 800: interval = 1500; break; default: break; };   if ( passive ) { interval += 200; }  if ( owner() && wanderFollowTarget() == owner() && ai_ && dynamic_cast<Action_Wander*>( ai_->currentAction() ) != 0 ) { interval >>= 1; }   if ( isTamed() ) {  interval -= 75; } else if ( !summoned() ) { interval += 100; }   if ( hitpoints() < maxHitpoints() ) { float ratio = 1.0f - wpMax<float>( 0, wpMin<float>( 1, ( float ) hitpoints() / ( float ) maxHitpoints() ) ); interval += ( static_cast<unsigned int>( ratio ) * 800 ); }  setNextMoveTime( Server::instance()->time() + interval );  if ( nextMoveTime() < aiCheckTime() ) { setAICheckTime( nextMoveTime() ); }
inline void cNPC::setNextMoveTime(UINT32 data){    nextMoveTime_ = data;}